envknob: use the correct key when logging (#4319)
parent
309ddef852
commit
f4686a76a1
|
@ -37,7 +37,7 @@ func noteEnv(k, v string) {
|
||||||
}
|
}
|
||||||
mu.Lock()
|
mu.Lock()
|
||||||
defer mu.Unlock()
|
defer mu.Unlock()
|
||||||
if _, ok := set[v]; !ok {
|
if _, ok := set[k]; !ok {
|
||||||
list = append(list, k)
|
list = append(list, k)
|
||||||
}
|
}
|
||||||
set[k] = v
|
set[k] = v
|
||||||
|
|
Loading…
Reference in New Issue