fix(checks): typo causing panic in checks endpoint

pull/17048/head
Jorge Landivar 2020-02-26 10:08:49 -06:00
parent 7adf61a0c7
commit 3c8ad39733
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ func decodeCheckFilter(ctx context.Context, r *http.Request) (*influxdb.CheckFil
}
f.OrgID = orgID
} else if orgNameStr := q.Get("org"); orgNameStr != "" {
*f.Org = orgNameStr
f.Org = &orgNameStr
}
return f, opts, err
}