Skip to content

Commit

Permalink
fix: add missing env variable log
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Cappa <[email protected]>
  • Loading branch information
Ks89 committed Aug 20, 2024
1 parent 5e720af commit bf22171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.23-alpine as builder
FROM golang:1.23-alpine AS builder
RUN apk update && apk add --no-cache \
protoc \
make gcc musl-dev
Expand Down
1 change: 1 addition & 0 deletions initialization/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func printEnv(logger *zap.SugaredLogger) {
logger.Info("MONGODB_URL = " + os.Getenv("MONGODB_URL"))
logger.Info("HTTP_SERVER = " + os.Getenv("HTTP_SERVER"))
logger.Info("HTTP_PORT = " + os.Getenv("HTTP_PORT"))
logger.Info("OAUTH_CALLBACK = " + os.Getenv("OAUTH_CALLBACK"))
logger.Info("HTTP_CORS = " + os.Getenv("HTTP_CORS"))
logger.Info("HTTP_SENSOR_SERVER = " + os.Getenv("HTTP_SENSOR_SERVER"))
logger.Info("HTTP_SENSOR_PORT = " + os.Getenv("HTTP_SENSOR_PORT"))
Expand Down

0 comments on commit bf22171

Please sign in to comment.