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

Introduced in a975e86bb8.

Only affected TS_DEBUG_* env users.
This commit is contained in:
Brad Fitzpatrick 2020-07-02 10:50:19 -07:00
parent 0f0ed3dca0
commit 57e8931160
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}