It was clearly copied from create-repo and not cleaned up
sufficiently afterwards.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/quayadmin | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/guests/quayadmin b/guests/quayadmin
index 31ea929..5dc5eff 100755
--- a/guests/quayadmin
+++ b/guests/quayadmin
@@ -158,11 +158,10 @@ def build_parser_show_repo(subparser):
def build_parser_delete_repo(subparser):
parser = subparser.add_parser("delete-repo", help="Delete an existing
repository")
- parser.set_defaults(func=run_create_repo)
+ parser.set_defaults(func=run_delete_repo)
add_arg_namespace(parser)
add_arg_repo(parser)
- add_arg_desc(parser)
def build_parser():
--
2.21.0