remove glog dependency from kustomize code (#542)

This commit is contained in:
Jingfang Liu
2018-11-12 11:35:00 -08:00
committed by GitHub
parent 1648eceb47
commit 83bc67c8ad
5 changed files with 6 additions and 19 deletions

View File

@@ -21,10 +21,10 @@ import (
"bytes"
"encoding/json"
"fmt"
"log"
"strings"
"github.com/ghodss/yaml"
"github.com/golang/glog"
"github.com/pkg/errors"
"sigs.k8s.io/kustomize/pkg/constants"
"sigs.k8s.io/kustomize/pkg/fs"
@@ -318,7 +318,7 @@ func (kt *KustTarget) resolveRefVars(m resmap.ResMap) (map[string]string, error)
}
result[v.Name] = s
} else {
glog.Infof("couldn't resolve v: %v", v)
log.Printf("couldn't resolve v: %v", v)
}
}
return result, nil