mirror of
https://github.com/Hopiu/portainer-cli.git
synced 2026-05-03 12:44:44 +00:00
Add log
This commit is contained in:
parent
cd2f6e3589
commit
b445963f46
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue