Skip to content

Commit

Permalink
Fix broken command(s) in CI (#243)
Browse files Browse the repository at this point in the history
* Fix wrong args attribute name in `naptr_show`
* Tests: Use `label set_description`
  • Loading branch information
pederhan authored May 27, 2024
1 parent bf8c1d3 commit 248a19e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ci/testsuite
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ network remove 2001:db8::/64 -f
label add postit 'This is a label'
label list
label info postit
label rename postit mylabel -desc 'This is the new description'
label rename postit mylabel
label set_description mylabel 'This is the new description'
label remove mylabel
# Roles
label add postit 'A label again'
Expand Down
2 changes: 1 addition & 1 deletion mreg_cli/commands/host_submodules/rr.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def naptr_show(args: argparse.Namespace) -> None:
:param args: argparse.Namespace (name)
"""
NAPTR.output_multiple(Host.get_by_any_means_or_raise(args.host).naptrs())
NAPTR.output_multiple(Host.get_by_any_means_or_raise(args.name).naptrs())


@command_registry.register_command(
Expand Down

0 comments on commit 248a19e

Please sign in to comment.