envknob: use the correct key when logging (#4319)
parent
309ddef852
commit
f4686a76a1
|
@ -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…
Reference in New Issue