Merge pull request #2232 from huanggze/patch-2

update comment
This commit is contained in:
KubeSphere CI Bot
2020-06-19 17:41:41 +08:00
committed by GitHub

View File

@@ -25,7 +25,7 @@ func labelReplace(input, ns string) (string, error) {
return root.String(), nil
}
// Inspired by https://github.com/openshift/prom-label-proxy
// Inspired by https://github.com/prometheus-community/prom-label-proxy
func setRecursive(node promql.Node, namespace string) (err error) {
switch n := node.(type) {
case *promql.EvalStmt: