]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/vstart_runner: fix args to os.path.join()
authorRishabh Dave <ridave@redhat.com>
Thu, 5 May 2022 14:12:55 +0000 (19:42 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 10 May 2022 05:33:24 +0000 (11:03 +0530)
Result of os.path.join() before "./bin/ceph-mds" and after
"./bin/./ceph-mds".

Before -

2022-05-05 19:36:11,100.100 DEBUG:__main__:> ./bin/./ceph-mds -i a

After -

2022-05-05 19:38:48,179.179 DEBUG:__main__:> ./bin/ceph-mds -i a

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/vstart_runner.py

index c6016f598b63c05e1bc5344a51a1471620d06963..aaf5d5a245efdb0fd3fb73de044b373d4634b66b 100644 (file)
@@ -535,7 +535,7 @@ class LocalDaemon(object):
             self.stop()
 
         self.proc = self.controller.run(args=[
-            os.path.join(BIN_PREFIX, "./ceph-{0}".format(self.daemon_type)),
+            os.path.join(BIN_PREFIX, "ceph-{0}".format(self.daemon_type)),
             "-i", self.daemon_id])
 
     def signal(self, sig, silent=False):