Remove logs

This commit is contained in:
VALLEY Antoine (T0173847) 2019-07-23 14:08:10 +02:00
parent 273c294ee7
commit c0a77ef17d

View file

@ -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: