@@ -13,7 +13,6 @@ import (
1313)
1414
1515const zoneID = "a1887604-237c-4212-a9cd-94620b7880fa"
16- const snapshotID = "9d076136-657b-4c84-b279-455da3ea484c"
1716
1817type fakeConnector struct {
1918 node * cloud.VM
@@ -150,7 +149,7 @@ func (f *fakeConnector) ExpandVolume(_ context.Context, volumeID string, newSize
150149 return cloud .ErrNotFound
151150}
152151
153- func (f * fakeConnector ) CreateVolumeFromSnapshot (ctx context.Context , zoneID , name , domainID , projectID , snapshotID string , sizeInGB int64 ) (* cloud.Volume , error ) {
152+ func (f * fakeConnector ) CreateVolumeFromSnapshot (ctx context.Context , zoneID , name , projectID , snapshotID string , sizeInGB int64 ) (* cloud.Volume , error ) {
154153 vol := & cloud.Volume {
155154 ID : "fake-vol-from-snap-" + name ,
156155 Name : name ,
@@ -163,15 +162,15 @@ func (f *fakeConnector) CreateVolumeFromSnapshot(ctx context.Context, zoneID, na
163162 return vol , nil
164163}
165164
166- func (f * fakeConnector ) GetSnapshotByID (ctx context.Context , snapshotID string ) (* cloud.Snapshot , error ) {
165+ func (f * fakeConnector ) GetSnapshotByID (_ context.Context , snapshotID string ) (* cloud.Snapshot , error ) {
167166 return f .snapshot , nil
168167}
169168
170- func (f * fakeConnector ) CreateSnapshot (ctx context.Context , volumeID string ) (* cloud.Snapshot , error ) {
169+ func (f * fakeConnector ) CreateSnapshot (_ context.Context , volumeID string ) (* cloud.Snapshot , error ) {
171170 return f .snapshot , nil
172171}
173172
174- func (f * fakeConnector ) DeleteSnapshot (ctx context.Context , snapshotID string ) error {
173+ func (f * fakeConnector ) DeleteSnapshot (_ context.Context , snapshotID string ) error {
175174 return nil
176175}
177176
0 commit comments