Skip to content

Commit d57ed07

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
CSTACKEX-36 Added TODOs
1 parent 0244569 commit d57ed07

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/driver/OntapPrimaryDatastoreDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
import java.util.HashMap;
6161
import java.util.Map;
6262

63-
public abstract class OntapPrimaryDatastoreDriver implements PrimaryDataStoreDriver {
63+
public class OntapPrimaryDatastoreDriver implements PrimaryDataStoreDriver {
6464

6565
private static final Logger s_logger = LogManager.getLogger(OntapPrimaryDatastoreDriver.class);
6666

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ public boolean attachCluster(DataStore dataStore, ClusterScope scope) {
200200
if (!isProtocolSupportedByAllHosts(hostsToConnect, protocol, hostsIdentifier)) {
201201
throw new CloudRuntimeException("Not all hosts in the cluster support the protocol: " + protocol.toString());
202202
}
203+
//TODO - check if no host to connect then also need to create access group without initiators
203204
if (hostsIdentifier != null && hostsIdentifier.size() > 0) {
204205
AccessGroup accessGroupRequest = utils.createAccessGroupRequestByProtocol(storagePool, scope.getScopeId(), details, hostsIdentifier);
205206
strategy.createAccessGroup(accessGroupRequest);

0 commit comments

Comments
 (0)