Skip to content

Commit

Permalink
Set service key to k8s when not present (#3187)
Browse files Browse the repository at this point in the history
* Set service key to k8s when not present

* Update helpers.py
  • Loading branch information
joaquincasares authored Jun 2, 2022
1 parent 6c4e610 commit 27f850d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discovery-provider/src/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def tuple_to_model_dictionary(t, model):
"pathname": "pathname",
"funcName": "funcName",
"lineno": "lineno",
"service": os.getenv("audius_service"),
"service": os.getenv("audius_service", "default"),
}

formatter = JsonFormatter(log_format, ensure_ascii=False, mix_extra=True)
Expand Down

0 comments on commit 27f850d

Please sign in to comment.