mirror of
https://github.com/Hopiu/portainer-cli.git
synced 2026-04-04 23:20:36 +00:00
Remove logs
This commit is contained in:
parent
273c294ee7
commit
c0a77ef17d
1 changed files with 0 additions and 2 deletions
|
|
@ -227,9 +227,7 @@ class PortainerCLI(object):
|
|||
|
||||
def get_stack_by_name(self, stack_name, endpoint_id, mandatory=False):
|
||||
result = self.get_stacks()
|
||||
logger.debug('get_stack_by_name - result = {}'.format(result))
|
||||
if result:
|
||||
logger.debug('get_stack_by_name - has result')
|
||||
for stack in result:
|
||||
logger.debug('get_stack_by_name - Name={} - EndpointId={}'.format(stack['Name'], stack['EndpointId'])
|
||||
if stack['Name'] == stack_name and stack['EndpointId'] == endpoint_id:
|
||||
|
|
|
|||
Loading…
Reference in a new issue