]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm:update test_orchestrator func signature 38695/head
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 4 Feb 2021 23:05:05 +0000 (12:05 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 4 Feb 2021 23:05:05 +0000 (12:05 +1300)
The available signature has changed to 3 parms, so this
patch is needed to ensure it conforms.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/test_orchestrator/module.py

index 85f67e8d7db94546a1f7e67148c0ff6cab0a6129..8a62ba5c1fb98a8ef61eb8cece467714cd0f222e 100644 (file)
@@ -90,7 +90,7 @@ class TestOrchestrator(MgrModule, orchestrator.Orchestrator):
             return HandleCommandResult(retval=-errno.EINVAL, stderr=str(e))
 
     def available(self):
-        return True, ""
+        return True, "", {}
 
     def __init__(self, *args, **kwargs):
         super(TestOrchestrator, self).__init__(*args, **kwargs)