Delete individual volume snapshots as part of the group snapshot delete API and prevent users from deleting individual volume snapshots if it is part of an existing group snapshot
Also revert commit bb29899ca3
.
This commit is contained in:
@@ -49,7 +49,7 @@ func TestSyncContent(t *testing.T) {
|
||||
readyToUse: true,
|
||||
},
|
||||
},
|
||||
expectedListCalls: []listCall{{"sid1-1", map[string]string{}, true, time.Now(), 1, nil}},
|
||||
expectedListCalls: []listCall{{"sid1-1", map[string]string{}, true, time.Now(), 1, nil, ""}},
|
||||
expectSuccess: true,
|
||||
errors: noerrors,
|
||||
test: testSyncContent,
|
||||
@@ -78,7 +78,7 @@ func TestSyncContent(t *testing.T) {
|
||||
size: defaultSize,
|
||||
},
|
||||
},
|
||||
expectedListCalls: []listCall{{"sid1-2", map[string]string{}, true, time.Now(), 1, nil}},
|
||||
expectedListCalls: []listCall{{"sid1-2", map[string]string{}, true, time.Now(), 1, nil, ""}},
|
||||
expectSuccess: true,
|
||||
errors: noerrors,
|
||||
test: testSyncContent,
|
||||
@@ -194,7 +194,7 @@ func TestSyncContent(t *testing.T) {
|
||||
readyToUse: true,
|
||||
},
|
||||
},
|
||||
expectedListCalls: []listCall{{"sid1-6", map[string]string{}, true, time.Now(), 1, nil}},
|
||||
expectedListCalls: []listCall{{"sid1-6", map[string]string{}, true, time.Now(), 1, nil, ""}},
|
||||
errors: noerrors,
|
||||
test: testSyncContent,
|
||||
},
|
||||
|
Reference in New Issue
Block a user