[jenkins-ci PATCH v2 02/20] quayadmin: Fix argument parsing for delete-repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It was clearly copied from create-repo and not cleaned up
sufficiently afterwards.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux