CenterEdge / shawarma

A Kubernetes sidecar to assist with enabling/disabling background processing during blue/green deployments.
Apache License 2.0
11 stars 4 forks source link

Make logging and URL fallback on empty env var (ARCH-51) #1

Closed brantburnett closed 5 years ago

brantburnett commented 5 years ago

Motivation

On Linux, empty environment variables are not falling back to default, only missing environment variables.

Modifications

Check LOG_LEVEL and SHAWARMA_URL for empty strings and fallback to defaults.

https://centeredge.atlassian.net/browse/ARCH-51

brantburnett commented 5 years ago

/merge