Compare commits

...

2 Commits

Author SHA1 Message Date
nemunaire cc55808f31 Prepare 0.4.1
continuous-integration/drone/tag Build is passing Details
2023-12-11 09:35:22 +01:00
nemunaire d01ebe66af Fix concatenation failure when zone is not defined 2023-12-11 09:34:52 +01:00
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
---
namespace: happydns
name: happydomain
version: 0.4.0
version: 0.4.1
readme: README.md
authors:
- happyDomain Team <happydomain.org>

View File

@ -96,7 +96,10 @@ def main():
break
else:
module.fail_json(msg="No zone found with id " + p['zone'])
if p['zone'] is None:
module.fail_json(msg="No zone found in domain " + p['domain'])
else:
module.fail_json(msg="No zone found with id " + p['zone'])
return
break
else: