Skip to content

Commit

Permalink
use logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Mubangizi committed Feb 26, 2024
1 parent b22eb1d commit 9d2bc2c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/helpers/kube.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,11 @@ def deploy_user_app(kube_client, project: Project, user: User, app: App = None,
service_name, project.alias)
except:
pass

print(f'Creating service for {app_alias} namespasce {namespace}')
print(service)
logger.error(
f'Creating service for {app_alias} namespasce {namespace}')
logger.error(service)
# print(f'Creating service for {app_alias} namespasce {namespace}')
# print(service)
kube_client.kube.create_namespaced_service(
namespace=namespace,
body=service,
Expand Down

0 comments on commit 9d2bc2c

Please sign in to comment.