cleanup: fix errors in wrapped format and log capitalization in proxy

Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
This commit is contained in:
wangyx1992
2021-04-21 11:28:39 +08:00
parent 657d93c4cc
commit c85e567a3d
9 changed files with 25 additions and 25 deletions

View File

@@ -576,7 +576,7 @@ func NewProxier(
time.Sleep(10 * time.Second)
hnsNetworkInfo, err = hns.getNetworkByName(hnsNetworkName)
if err != nil {
return nil, fmt.Errorf("Could not find HNS network %s", hnsNetworkName)
return nil, fmt.Errorf("could not find HNS network %s", hnsNetworkName)
}
}
@@ -617,7 +617,7 @@ func NewProxier(
}
}
if len(hostMac) == 0 {
return nil, fmt.Errorf("Could not find host mac address for %s", nodeIP)
return nil, fmt.Errorf("could not find host mac address for %s", nodeIP)
}
}