envknob: use the correct key when logging (#4319)

pull/4325/head
Maisem Ali 2 years ago committed by GitHub
parent 309ddef852
commit f4686a76a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,7 @@ func noteEnv(k, v string) {
}
mu.Lock()
defer mu.Unlock()
if _, ok := set[v]; !ok {
if _, ok := set[k]; !ok {
list = append(list, k)
}
set[k] = v

Loading…
Cancel
Save