]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: RGWEndpoint.url() contains dns-name if configured
authorCasey Bodley <cbodley@redhat.com>
Mon, 27 Apr 2026 13:36:05 +0000 (09:36 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 20 May 2026 14:20:24 +0000 (10:20 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/tasks/rgw.py

index dbff5171f5dd68e6724d7d505cdad22a82830b16..aaa90bb4ba6d7cb15488eda10916cd819fd0d3c5 100644 (file)
@@ -29,7 +29,7 @@ class RGWEndpoint:
 
     def url(self):
         proto = 'https' if self.cert else 'http'
-        return '{proto}://{hostname}:{port}/'.format(proto=proto, hostname=self.hostname, port=self.port)
+        return '{proto}://{hostname}:{port}/'.format(proto=proto, hostname=self.dns_name, port=self.port)
 
 @contextlib.contextmanager
 def start_rgw(ctx, config, clients):