Skip to content

Commit c7b88d1

Browse files
authored
Merge pull request #502 from lshemesh/fix-env-val-check
fix(gitreceive): fix checkForEnv logic
2 parents 4634fe1 + 56abf92 commit c7b88d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/k8s_util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func checkForEnv(t *testing.T, pod *api.Pod, key, expVal string) {
204204
if err != nil {
205205
t.Errorf("%v", err)
206206
}
207-
if val != val {
207+
if expVal != val {
208208
t.Errorf("expected %v but returned %v ", expVal, val)
209209
}
210210
}

0 commit comments

Comments
 (0)