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("checkAndUpdateSnapshotClass failed to setDefaultClass %v", err)
346
347
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)
354
-
returnnil, err
355
+
returnnil, fmt.Errorf("volumeSnapshotClass does not match with the snapshotter for controller")
355
356
}
356
-
returnsnapshot, nil
357
+
returnnewSnapshot, nil
357
358
}
358
359
359
360
// updateSnapshot runs in worker thread and handles "snapshot added",
0 commit comments