Fix golint issues

This commit is contained in:
Madhu Rajanna
2019-01-15 23:56:50 +05:30
parent 52cf4aa902
commit 227dec63e0
11 changed files with 63 additions and 68 deletions

View File

@ -65,7 +65,7 @@ func (nc *NodeCache) ForAll(pattern string, destObj interface{}, f ForAllFunc) e
}
fp, err := os.Open(path.Join(nc.BasePath, cacheDir, file.Name()))
if err != nil {
glog.Infof("node-cache: open file: %s err %%v", file.Name(), err)
glog.Infof("node-cache: open file: %s err %v", file.Name(), err)
continue
}
decoder := json.NewDecoder(fp)