Skip to content

Commit d9de686

Browse files
committed
CSTACKEX-246: small fix
1 parent 0a3cbe2 commit d9de686

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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
@@ -990,7 +990,7 @@ private String buildSnapshotName(String cloudStackSnapshotName, long snapshotId)
990990

991991
private Storage.ImageFormat getImageFormatByHypervisorAndProtocol(HypervisorType hypervisorType, String protocol) {
992992
if (HypervisorType.KVM.equals(hypervisorType)) {
993-
ProtocolType protocolType = ProtocolType.valueOf(protocol.toUpperCase());
993+
ProtocolType protocolType = ProtocolType.valueOf(protocol);
994994
switch (protocolType) {
995995
case NFS3:
996996
return Storage.ImageFormat.QCOW2;

0 commit comments

Comments
 (0)