Skip to content

Commit

Permalink
Removed unnecessary prints
Browse files Browse the repository at this point in the history
  • Loading branch information
g3rzi authored Mar 28, 2019
1 parent 718e864 commit 40f1df2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions engine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ def dump_containers_tokens_by_pod(pod_name, namespace, read_token_from_container
containers_with_tokens = []
pod = api_client.CoreV1Api.read_namespaced_pod(name=pod_name, namespace=namespace)
if read_token_from_container:
print('from container')
if pod.status.container_statuses:
for container in pod.status.container_statuses:
if container.ready:
Expand All @@ -430,7 +429,6 @@ def dump_containers_tokens_by_pod(pod_name, namespace, read_token_from_container
containers_with_tokens.append(Container(container.name, token=jwt_body, raw_jwt_token=raw_jwt_token))

else:
print('other place')
for container in pod.spec.containers:
pod_mounted_secrets = {}
for volume in pod.spec.volumes:
Expand Down

0 comments on commit 40f1df2

Please sign in to comment.