From 733fe2e6005108dfc23ea2836b2cb3cd20c00909 Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 28 Jan 2019 16:40:48 +0000 Subject: [PATCH] Fixup hostname string formatting --- zaza/charm_tests/ceph/tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zaza/charm_tests/ceph/tests.py b/zaza/charm_tests/ceph/tests.py index e019bf1..2df469d 100644 --- a/zaza/charm_tests/ceph/tests.py +++ b/zaza/charm_tests/ceph/tests.py @@ -546,8 +546,10 @@ class CephRGWDaemonTest(test_utils.OpenStackBaseTest): if current_release >= xenial_mitaka: result = zaza_model.run_on_unit(unit.entity_id, 'hostname') hostname = result['Stdout'].rstrip() - services = ['ceph-radosgw@rgw.{hostname}'.format(hostname), - 'haproxy'] + services = [ + 'ceph-radosgw@rgw.{hostname}'.format(hostname=hostname), + 'haproxy' + ] else: services = ['radosgw', 'haproxy'] zaza_model.block_until_service_status(