Use pointer for Value, change RELEASE_NAME const
This commit is contained in:
@@ -227,8 +227,8 @@ func TestEnvs(t *testing.T) {
|
||||
}
|
||||
if next {
|
||||
matched = true
|
||||
if !strings.Contains(line, helm.RELEASE_NAME+"-database") {
|
||||
t.Error("DB_HOST variable should be set to " + helm.RELEASE_NAME + "-database")
|
||||
if !strings.Contains(line, helm.ReleaseNameTpl+"-database") {
|
||||
t.Error("DB_HOST variable should be set to " + helm.ReleaseNameTpl + "-database")
|
||||
}
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user