提交 39f68066 编写于 作者: S Sharif Elgamal

add info log for retrieving node by machine name

上级 70c228c2
......@@ -19,6 +19,7 @@ package node
import (
"fmt"
"github.com/golang/glog"
"github.com/pkg/errors"
"github.com/spf13/viper"
......@@ -88,6 +89,7 @@ func Retrieve(cc config.ClusterConfig, name string) (*config.Node, int, error) {
// Accept full machine name as well as just node name
if driver.MachineName(cc, n) == name {
glog.Infof("Couldn't find node name %s, but found it as a machine name, returning it anyway.", name)
return &n, i, nil
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册