Skip to content

Commit 305adf6

Browse files
Srivastava, PiyushSrivastava, Piyush
authored andcommitted
feature/CSTACKEX-122: UTs updated 2
1 parent c14c5cc commit 305adf6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/service/UnifiedSANStrategy.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,6 @@ public void deleteAccessGroup(AccessGroup accessGroup) {
271271
if (accessGroup.getStoragePoolId() == null) {
272272
throw new CloudRuntimeException(" Failed to delete Igroup, invalid datastore details in the request");
273273
}
274-
if (accessGroup.getHostsToConnect() == null || accessGroup.getHostsToConnect().isEmpty()) {
275-
throw new CloudRuntimeException(" Failed to delete Igroup, no hosts to connect provided in the request");
276-
}
277-
278274
try {
279275
String authHeader = Utility.generateAuthHeader(storage.getUsername(), storage.getPassword());
280276
String svmName = storage.getSvmName();

0 commit comments

Comments
 (0)