Skip to content

Commit 79a078f

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
CSTACKEX-46 Resolve copilot comments
1 parent 016601d commit 79a078f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/lifecycle/OntapPrimaryDatastoreLifecycle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ public boolean attachCluster(DataStore dataStore, ClusterScope scope) {
285285
AccessGroup accessGroupRequest = createAccessGroupRequestByProtocol(storagePool, scope.getScopeId(), details, hostsIdentifier);
286286
strategy.createAccessGroup(accessGroupRequest);
287287
} catch (Exception e) {
288-
s_logger.error("attachCluster: Failed to create access group on storage system for cluster: " + primaryStore.getClusterId() + ". Exception: " + e.getMessage(), e);
289-
throw new CloudRuntimeException("attachCluster: Failed to create access group on storage system for cluster: " + primaryStore.getClusterId() + ". Exception: " + e.getMessage(), e);
288+
s_logger.error("attachCluster: Failed to create access group on storage system for cluster: " + primaryStore.getClusterId() + ". Exception: " + e.getMessage());
289+
throw new CloudRuntimeException("attachCluster: Failed to create access group on storage system for cluster: " + primaryStore.getClusterId() + ". Exception: " + e.getMessage());
290290
}
291291
}
292292
logger.debug("attachCluster: Attaching the pool to each of the host in the cluster: {}", primaryStore.getClusterId());

0 commit comments

Comments
 (0)