Skip to content

Commit

Permalink
Merge pull request #68 from vrothberg/debug
Browse files Browse the repository at this point in the history
don't print error when cached network load fails
  • Loading branch information
openshift-merge-robot authored Feb 18, 2020
2 parents e25b504 + eb7abc0 commit d288157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ocicni/ocicni.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ func (plugin *cniNetworkPlugin) forEachNetwork(podNetwork *PodNetwork, fromCache
var newRt *libcni.RuntimeConf
cniNet, newRt, err = plugin.loadNetworkFromCache(network.Name, rt)
if err != nil {
logrus.Errorf("error loading cached network config: %v", err)
// fall back to loading from existing plugins on disk
logrus.Debugf("error loading cached network config: %v", err)
logrus.Debugf("falling back to loading from existing plugins on disk")
} else {
// Use the updated RuntimeConf
rt = newRt
Expand Down

0 comments on commit d288157

Please sign in to comment.