Skip to content

Commit

Permalink
fix(snap): Refactor to avoid conflicts with readonly config provider …
Browse files Browse the repository at this point in the history
…directory

Signed-off-by: Mengyi Wang <[email protected]>
  • Loading branch information
MonicaisHer committed Mar 22, 2023
1 parent 96327e0 commit bf4bb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/local/bin/source-env-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BINPATH="${ARGV[0]}"

# binary name == service name/key
SERVICE=$(basename "$BINPATH")
ENV_FILE="$SNAP_DATA/config/$SERVICE/res/$SERVICE.env"
ENV_FILE="$SNAP_DATA/config/$SERVICE/overrides.env"
TAG="edgex-$SERVICE."$(basename "$0")

if [ -f "$ENV_FILE" ]; then
Expand Down

0 comments on commit bf4bb03

Please sign in to comment.