]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/rgw: swift task conditionally sets auth_ssl
authorCasey Bodley <cbodley@redhat.com>
Wed, 14 Feb 2018 19:03:48 +0000 (14:03 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 9 Mar 2018 21:31:33 +0000 (16:31 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/tasks/swift.py

index 81d686b0f0b1dd2cbda51274d062b44f119b40bd..59804b15184490f44920531c8e2da59514ac397f 100644 (file)
@@ -245,7 +245,7 @@ def task(ctx, config):
                     'func_test':
                         {
                         'auth_port'      : endpoint.port,
-                        'auth_ssl' : 'no',
+                        'auth_ssl' : 'yes' if endpoint.cert else 'no',
                         'auth_prefix' : '/auth/',
                         },
                     }