Skip to content

Commit d288157

Browse files
Merge pull request #68 from vrothberg/debug
don't print error when cached network load fails
2 parents e25b504 + eb7abc0 commit d288157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/ocicni/ocicni.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,8 @@ func (plugin *cniNetworkPlugin) forEachNetwork(podNetwork *PodNetwork, fromCache
503503
var newRt *libcni.RuntimeConf
504504
cniNet, newRt, err = plugin.loadNetworkFromCache(network.Name, rt)
505505
if err != nil {
506-
logrus.Errorf("error loading cached network config: %v", err)
507-
// fall back to loading from existing plugins on disk
506+
logrus.Debugf("error loading cached network config: %v", err)
507+
logrus.Debugf("falling back to loading from existing plugins on disk")
508508
} else {
509509
// Use the updated RuntimeConf
510510
rt = newRt

0 commit comments

Comments
 (0)