Skip to content

Commit 2045ef1

Browse files
committed
Fix error message s/Delete/List/
1 parent 4017329 commit 2045ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sidecar-controller/framework_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ func (f *fakeSnapshotter) GetSnapshotStatus(ctx context.Context, snapshotID stri
928928

929929
if !reflect.DeepEqual(call.secrets, snapshotterListCredentials) {
930930
f.t.Errorf("Wrong CSI List Snapshot call: snapshotID=%s, expected secrets %+v, got %+v", snapshotID, call.secrets, snapshotterListCredentials)
931-
err = fmt.Errorf("unexpected Delete Snapshot call")
931+
err = fmt.Errorf("unexpected List Snapshot call")
932932
}
933933

934934
if err != nil {

0 commit comments

Comments
 (0)