You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
glog.Errorf("shouldProcessSnapshot failed to getSnapshotClass %s", err)
337
+
glog.Errorf("checkAndUpdateSnapshotClass failed to getSnapshotClass %v", err)
335
338
ctrl.updateSnapshotErrorStatusWithEvent(snapshot, v1.EventTypeWarning, "GetSnapshotClassFailed", fmt.Sprintf("Failed to get snapshot class with error %v", err))
glog.Errorf("shouldProcessSnapshot failed to setDefaultClass %s", err)
345
+
glog.Errorf("checkAndUpdateSnapshotClass failed to setDefaultClass %v", err)
343
346
ctrl.updateSnapshotErrorStatusWithEvent(snapshot, v1.EventTypeWarning, "SetDefaultSnapshotClassFailed", fmt.Sprintf("Failed to set default snapshot class with error %v", err))
glog.V(4).Infof("Skipping VolumeSnapshot %s for snapshotter [%s] in VolumeSnapshotClass because it does not match with the snapshotter for controller [%s]", snapshotKey(snapshot), class.Snapshotter, ctrl.snapshotterName)
351
-
returnfalse
354
+
returnnil, err
352
355
}
353
-
returntrue
356
+
returnsnapshot, nil
354
357
}
355
358
356
359
// updateSnapshot runs in worker thread and handles "snapshot added",
0 commit comments