[PR #10620/a68ba504 backport][stable-11] homectl, maven_artifact: removed redundant comments (#10622)

homectl, maven_artifact: removed redundant comments (#10620)

* homectl, maven_artifact: removed redundant comments

* stacki_hosts: one more redundant comment

(cherry picked from commit a68ba50466)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2025-08-10 13:51:58 +02:00 committed by GitHub
commit 0123222ba8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View file

@ -269,7 +269,7 @@ def main():
for param in ['appliance', 'rack', 'rank', 'prim_intf', 'prim_intf_ip', 'network', 'prim_intf_mac']:
if not module.params[param]:
missing_params.append(param)
if len(missing_params) > 0: # @FIXME replace with required_if
if len(missing_params) > 0:
module.fail_json(msg="missing required arguments: {0}".format(missing_params))
stacki.stack_add(result)