mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-24 14:12:18 +00:00
Fixed log message in client-go
An example of incorrect log message: { "component":"virtctl", "level":"info", "msg":"Config loaded from fileocp/auth/kubeconfig", "pos":"loader.go:359", "timestamp":"2019-03-07T18:50:20.923470Z" } Note how the resulting message has no characters between the text and file name. Kubernetes-commit: 65fb63a15473589f615bdfeb2f35e56414050f94
This commit is contained in:
parent
a18eda0c05
commit
e413b96486
@ -356,7 +356,7 @@ func LoadFromFile(filename string) (*clientcmdapi.Config, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
klog.V(6).Infoln("Config loaded from file", filename)
|
klog.V(6).Infoln("Config loaded from file: ", filename)
|
||||||
|
|
||||||
// set LocationOfOrigin on every Cluster, User, and Context
|
// set LocationOfOrigin on every Cluster, User, and Context
|
||||||
for key, obj := range config.AuthInfos {
|
for key, obj := range config.AuthInfos {
|
||||||
|
Loading…
Reference in New Issue
Block a user