update client package with go 1.19 formatting changes

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2022-09-14 08:26:30 +05:30
parent 7c1ca796b1
commit 461143ec25
4 changed files with 29 additions and 29 deletions

View File

@@ -783,11 +783,11 @@ func (ctrl *csiSnapshotCommonController) storeContentUpdate(content interface{})
// the status has actually changed from the version saved in API server.
// Parameters:
//
// * snapshot - snapshot to update
// * setReadyToFalse bool - indicates whether to set the snapshot's ReadyToUse status to false.
// if true, ReadyToUse will be set to false;
// otherwise, ReadyToUse will not be changed.
// * eventtype, reason, message - event to send, see EventRecorder.Event()
// - snapshot - snapshot to update
// - setReadyToFalse bool - indicates whether to set the snapshot's ReadyToUse status to false.
// if true, ReadyToUse will be set to false;
// otherwise, ReadyToUse will not be changed.
// - eventtype, reason, message - event to send, see EventRecorder.Event()
func (ctrl *csiSnapshotCommonController) updateSnapshotErrorStatusWithEvent(snapshot *crdv1.VolumeSnapshot, setReadyToFalse bool, eventtype, reason, message string) error {
klog.V(5).Infof("updateSnapshotErrorStatusWithEvent[%s]", utils.SnapshotKey(snapshot))