This commit is contained in:
VALLEY Antoine (T0173847) 2019-07-23 15:47:56 +02:00
parent cd2f6e3589
commit b445963f46

View file

@ -271,6 +271,7 @@ class PortainerCLI(object):
return env
def create_or_update_stack(self, *args):
logger.debug('create_or_update_stack : {}'.format(args))
stack_id = plac.call(self.get_stack_id, args)
if stack_id == -1:
plac.call(self.create_stack, args)