frappy-cli: support older frappy client
This commit is contained in:
@ -207,7 +207,10 @@ class FrappyManager(ServiceManager):
|
||||
nodes = self.get_nodes(ins, service)
|
||||
from frappy.client.interactive import init, interact
|
||||
init(*nodes)
|
||||
interact()
|
||||
try:
|
||||
interact(appname=ins)
|
||||
except TypeError: # older frappy client
|
||||
interact()
|
||||
|
||||
@staticmethod
|
||||
def get_cfg_details(namespace, cfgfile):
|
||||
|
Reference in New Issue
Block a user