diff --git a/pkg/controller/snapshot_controller_base.go b/pkg/controller/snapshot_controller_base.go index 68c7829f..198a0f74 100644 --- a/pkg/controller/snapshot_controller_base.go +++ b/pkg/controller/snapshot_controller_base.go @@ -475,8 +475,8 @@ func (ctrl *csiSnapshotController) initializeCaches(snapshotLister storagelister } for _, content := range contentList { contentClone := content.DeepCopy() - if _, err = ctrl.storeSnapshotUpdate(contentClone); err != nil { - glog.Errorf("error updating volume snapshot cache: %v", err) + if _, err = ctrl.storeContentUpdate(contentClone); err != nil { + glog.Errorf("error updating volume snapshot content cache: %v", err) } }