Compare commits

...

2 Commits

Author SHA1 Message Date
cc55808f31 Prepare 0.4.1
All checks were successful
continuous-integration/drone/tag Build is passing
2023-12-11 09:35:22 +01:00
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 namespace: happydns
name: happydomain name: happydomain
version: 0.4.0 version: 0.4.1
readme: README.md readme: README.md
authors: authors:
- happyDomain Team <happydomain.org> - happyDomain Team <happydomain.org>

View File

@ -96,7 +96,10 @@ def main():
break break
else: 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 return
break break
else: else: