Skip to content

Commit f6c4733

Browse files
committed
Fixup typos
1 parent 35e64ec commit f6c4733

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

engine/storage/src/main/java/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ protected boolean filter(ExcludeList avoid, StoragePool pool, DiskProfile dskCh,
378378
return false;
379379
}
380380
} catch (StorageUnavailableException e) {
381-
logger.warn(String.format("Could not verify storage policy complaince against storage pool %s due to exception %s", pool.getUuid(), e.getMessage()));
381+
logger.warn(String.format("Could not verify storage policy compliance against storage pool %s due to exception %s", pool.getUuid(), e.getMessage()));
382382
return false;
383383
}
384384
}

plugins/hypervisors/vmware/src/main/java/com/cloud/storage/resource/VmwareStorageProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3792,14 +3792,14 @@ public Answer checkDataStoreStoragePolicyCompliance(CheckDataStoreStoragePolicyC
37923792
DatastoreMO primaryDsMo = new DatastoreMO(hyperHost.getContext(), morPrimaryDs);
37933793
boolean isDatastoreStoragePolicyComplaint = primaryDsMo.isDatastoreStoragePolicyComplaint(storagePolicyId);
37943794

3795-
String failedMessage = String.format("DataStore %s is not complaince with storage policy id %s", primaryStorageNameLabel, storagePolicyId);
3795+
String failedMessage = String.format("DataStore %s is not compliance with storage policy id %s", primaryStorageNameLabel, storagePolicyId);
37963796
if (!isDatastoreStoragePolicyComplaint)
37973797
return new Answer(cmd, isDatastoreStoragePolicyComplaint, failedMessage);
37983798
else
37993799
return new Answer(cmd, isDatastoreStoragePolicyComplaint, null);
38003800
} catch (Throwable e) {
38013801
hostService.createLogMessageException(e, cmd);
3802-
String details = String.format("Exception while checking if datastore [%s] is storage policy [%s] complaince due to: [%s]", primaryStorageNameLabel, storagePolicyId, VmwareHelper.getExceptionMessage(e));
3802+
String details = String.format("Exception while checking if datastore [%s] is storage policy [%s] compliance due to: [%s]", primaryStorageNameLabel, storagePolicyId, VmwareHelper.getExceptionMessage(e));
38033803
return new Answer(cmd, false, details);
38043804
}
38053805
}

server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ public int compare(Volume v1, Volume v2) {
15431543
continue;
15441544
}
15451545
} catch (StorageUnavailableException e) {
1546-
logger.warn("Could not verify storage policy complaince against storage pool {} due to exception {}", storagePool, e.getMessage());
1546+
logger.warn("Could not verify storage policy compliance against storage pool {} due to exception {}", storagePool, e.getMessage());
15471547
continue;
15481548
}
15491549
haveEnoughSpace = true;
@@ -1582,7 +1582,7 @@ public int compare(Volume v1, Volume v2) {
15821582
continue;
15831583
}
15841584
} catch (StorageUnavailableException e) {
1585-
logger.warn("Could not verify storage policy complaince against storage pool {} due to exception {}", potentialSPool, e.getMessage());
1585+
logger.warn("Could not verify storage policy compliance against storage pool {} due to exception {}", potentialSPool, e.getMessage());
15861586
continue;
15871587
}
15881588
}

0 commit comments

Comments
 (0)