Skip to content

Commit

Permalink
update DEBUG issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sandstromviktor committed Feb 6, 2024
1 parent 7032c3a commit 6335764
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion serve_event_listener/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
)

DEBUG = os.environ.get("DEBUG", False)
DEBUG = os.getenv("DEBUG", default="False").lower() in ("true", "1", "t")
# Set up logging configuration with the ColoredFormatter
if DEBUG:
level = logging.DEBUG
Expand Down
1 change: 1 addition & 0 deletions serve_event_listener/status_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"PodInitializing": "Pending",
"ErrImagePull": "Image Error",
"ImagePullBackOff": "Image Error",
"PostStartHookError": "Pod Error",
}


Expand Down

0 comments on commit 6335764

Please sign in to comment.