[libvirt] [jenkins-ci PATCH 03/20] quayadmin: Fix quiet mode for show-repo

Andrea Bolognani abologna at redhat.com
Wed Jul 17 11:53:52 UTC 2019


Since the user is explicity asking for information to be
displayed, we should present it to them whether or not quiet
mode is enabled.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/quayadmin | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guests/quayadmin b/guests/quayadmin
index 5dc5eff..980fc1b 100755
--- a/guests/quayadmin
+++ b/guests/quayadmin
@@ -84,8 +84,8 @@ def run_show_repo(args):
         return 1
 
     info = res.json()
-    if not args.quiet:
-        print("{}/{}: {}".format(args.namespace, args.repo, info["description"]))
+
+    print("{}/{}: {}".format(args.namespace, args.repo, info["description"]))
 
 
 def run_create_repo(args):
-- 
2.21.0




More information about the libvir-list mailing list