Loading cloudcontrol/server/clients/cli.py +2 −2 Original line number Diff line number Diff line Loading @@ -914,7 +914,7 @@ class CliHandler(RegisteredCCHandler): :param tql: tql matching only one object on which start the console :return: the label of the created tunnel """ objects = self.server.list(tql, show=('r', 'p', 'h'), method='console') objects = self.client.list(tql, show=('r', 'p', 'h'), method='console') if len(objects) != 1: raise NotImplementedError('Console only support one tunnel at time for now') errs = Reporter() Loading @@ -939,7 +939,7 @@ class CliHandler(RegisteredCCHandler): :param tql: tql matching only one object on which start the rshell :return: the label of the created tunnel """ objects = self.server.list(tql, show=('r', 'p'), method='rshell') objects = self.client.list(tql, show=('r', 'p'), method='rshell') if len(objects) != 1: raise NotImplementedError('Rshell only support one tunnel at time for now') errs = Reporter() Loading Loading
cloudcontrol/server/clients/cli.py +2 −2 Original line number Diff line number Diff line Loading @@ -914,7 +914,7 @@ class CliHandler(RegisteredCCHandler): :param tql: tql matching only one object on which start the console :return: the label of the created tunnel """ objects = self.server.list(tql, show=('r', 'p', 'h'), method='console') objects = self.client.list(tql, show=('r', 'p', 'h'), method='console') if len(objects) != 1: raise NotImplementedError('Console only support one tunnel at time for now') errs = Reporter() Loading @@ -939,7 +939,7 @@ class CliHandler(RegisteredCCHandler): :param tql: tql matching only one object on which start the rshell :return: the label of the created tunnel """ objects = self.server.list(tql, show=('r', 'p'), method='rshell') objects = self.client.list(tql, show=('r', 'p'), method='rshell') if len(objects) != 1: raise NotImplementedError('Rshell only support one tunnel at time for now') errs = Reporter() Loading