fix initializeCaches bug
This commit is contained in:
@@ -475,8 +475,8 @@ func (ctrl *csiSnapshotController) initializeCaches(snapshotLister storagelister
|
|||||||
}
|
}
|
||||||
for _, content := range contentList {
|
for _, content := range contentList {
|
||||||
contentClone := content.DeepCopy()
|
contentClone := content.DeepCopy()
|
||||||
if _, err = ctrl.storeSnapshotUpdate(contentClone); err != nil {
|
if _, err = ctrl.storeContentUpdate(contentClone); err != nil {
|
||||||
glog.Errorf("error updating volume snapshot cache: %v", err)
|
glog.Errorf("error updating volume snapshot content cache: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user