mirror of
https://github.com/Hopiu/portainer-cli.git
synced 2026-04-22 23:44:43 +00:00
Add debug trace
This commit is contained in:
parent
ca7513e5a9
commit
514320eed2
1 changed files with 1 additions and 0 deletions
|
|
@ -229,6 +229,7 @@ class PortainerCLI(object):
|
|||
result = self.get_stacks()
|
||||
if result:
|
||||
for stack in result:
|
||||
logger.debug('get_stack_by_name - Name={} - EndpointId={}', stack['Name'], stack['EndpointId'])
|
||||
if stack['Name'] == stack_name and stack['EndpointId'] == endpoint_id:
|
||||
return stack
|
||||
if mandatory:
|
||||
|
|
|
|||
Loading…
Reference in a new issue