control/controlclient: fix copy/paste-o in debug knob accessor

Introduced in a975e86bb8.

Only affected TS_DEBUG_* env users.
pull/517/head
Brad Fitzpatrick 4 years ago
parent 0f0ed3dca0
commit 57e8931160

@ -800,7 +800,7 @@ func envBool(k string) bool {
if e == "" {
return false
}
v, err := strconv.ParseBool(os.Getenv("TS_DEBUG_NETMAP"))
v, err := strconv.ParseBool(e)
if err != nil {
panic(fmt.Sprintf("invalid non-bool %q for env var %q", e, k))
}

Loading…
Cancel
Save