Fix error message s/Delete/List/

This commit is contained in:
bells17
2020-02-19 20:22:26 +09:00
parent 401732912f
commit 2045ef16ba

View File

@@ -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 {