From 2045ef16bada145ed5463e0d5bdd11a4a7fdc024 Mon Sep 17 00:00:00 2001 From: bells17 Date: Wed, 19 Feb 2020 20:22:26 +0900 Subject: [PATCH] Fix error message s/Delete/List/ --- pkg/sidecar-controller/framework_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sidecar-controller/framework_test.go b/pkg/sidecar-controller/framework_test.go index 5d853907..d59f0f4a 100644 --- a/pkg/sidecar-controller/framework_test.go +++ b/pkg/sidecar-controller/framework_test.go @@ -928,7 +928,7 @@ func (f *fakeSnapshotter) GetSnapshotStatus(ctx context.Context, snapshotID stri if !reflect.DeepEqual(call.secrets, snapshotterListCredentials) { f.t.Errorf("Wrong CSI List Snapshot call: snapshotID=%s, expected secrets %+v, got %+v", snapshotID, call.secrets, snapshotterListCredentials) - err = fmt.Errorf("unexpected Delete Snapshot call") + err = fmt.Errorf("unexpected List Snapshot call") } if err != nil {