Skip to content

Commit

Permalink
Update env var names
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Dec 6, 2022
1 parent 807441c commit 6cab482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/turing/cluster/servicebuilder/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const (
envRouterConfigFile = "ROUTER_CONFIG_FILE"
envRouterProtocol = "ROUTER_PROTOCOL"
envGoogleApplicationCredentials = "GOOGLE_APPLICATION_CREDENTIALS"
envExpGoogleApplicationCredentials = "EXP_GOOGLE_APPLICATION_CREDENTIALS"
envExpGoogleApplicationCredentials = "GOOGLE_APPLICATION_CREDENTIALS_EXPERIMENT_ENGINE"
envPluginName = "PLUGIN_NAME"
envPluginsDir = "PLUGINS_DIR"
)
Expand Down
2 changes: 1 addition & 1 deletion api/turing/cluster/servicebuilder/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ func TestNewRouterService(t *testing.T) {
{Name: "ROUTER_PROTOCOL", Value: string(routerConfig.HTTP)},
{Name: "APP_SENTRY_ENABLED", Value: "true"},
{Name: "APP_SENTRY_DSN", Value: "sentry-dsn"},
{Name: "EXP_GOOGLE_APPLICATION_CREDENTIALS", Value: "/var/secret/exp-engine/exp-engine-service-account.json"},
{Name: "GOOGLE_APPLICATION_CREDENTIALS_EXPERIMENT_ENGINE", Value: "/var/secret/exp-engine/exp-engine-service-account.json"},
{Name: "APP_LOGLEVEL", Value: "INFO"},
{Name: "APP_CUSTOM_METRICS", Value: "false"},
{Name: "APP_JAEGER_ENABLED", Value: "false"},
Expand Down

0 comments on commit 6cab482

Please sign in to comment.