Skip to content

Commit

Permalink
fix: env variable name change
Browse files Browse the repository at this point in the history
Signed-off-by: RazenaSaleem <razenasaleem@gmail.com>
  • Loading branch information
RazenaSaleem committed May 20, 2024
1 parent 833d6ca commit d9fcddb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cli/installer/docker_compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ func fixQualitytraceContainer(config configuration, project *types.Project, vers
tts.Image = "intelops/qualitytrace:" + version
tts.Build = nil
tts.Volumes[0].Source = qualitytraceConfigFilename
qualitytraceDevEnv := "${TRACETEST_DEV}"
tts.Environment["TRACETEST_DEV"] = &qualitytraceDevEnv
tracetestDevEnv := "${TRACETEST_DEV}"
tts.Environment["TRACETEST_DEV"] = &tracetestDevEnv

replaceService(project, serviceName, tts)

Expand Down
2 changes: 1 addition & 1 deletion cli/installer/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func installQualitytraceChart(conf configuration, ui cliUI.UI) {
}

if os.Getenv("TRACETEST_DEV") != "" {
cmd = append(cmd, "--set env.qualitytraceDev=true")
cmd = append(cmd, "--set env.tracetestDev=true")
}

execCmd(helmCmd(conf, cmd...), ui)
Expand Down

0 comments on commit d9fcddb

Please sign in to comment.