Skip to content

Commit

Permalink
PR #6055 to be golang 1.11 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmood Ali committed Sep 18, 2019
1 parent db18c00 commit 20a0a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/allocrunner/taskrunner/template/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ func TestTaskTemplateManager_FiltersEnvVars(t *testing.T) {
defer os.Setenv("NOMAD_TASK_NAME", os.Getenv("NOMAD_TASK_NAME"))
os.Setenv("NOMAD_TASK_NAME", "should be overridden by task")

testenv := "TESTENV_" + strings.ReplaceAll(uuid.Generate(), "-", "")
testenv := "TESTENV_" + strings.Replace(uuid.Generate(), "-", "", -1)
os.Setenv(testenv, "MY_TEST_VALUE")
defer os.Unsetenv(testenv)

Expand Down

0 comments on commit 20a0a2e

Please sign in to comment.