Skip to content

Commit dda6725

Browse files
authored
Remove unneeded duplicate words (apache#8358)
This PR removes some unneeded duplicate words.
1 parent de095ba commit dda6725

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3248,7 +3248,7 @@ public boolean destroyNetwork(final long networkId, final ReservationContext con
32483248
// get updated state for the network
32493249
network = _networksDao.findById(networkId);
32503250
if (network.getState() != Network.State.Allocated && network.getState() != Network.State.Setup && !forced) {
3251-
s_logger.debug("Network is not not in the correct state to be destroyed: " + network.getState());
3251+
s_logger.debug("Network is not in the correct state to be destroyed: " + network.getState());
32523252
return false;
32533253
}
32543254

plugins/hypervisors/simulator/src/main/java/com/cloud/api/commands/ConfigureSimulatorHAProviderState.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ public final class ConfigureSimulatorHAProviderState extends BaseCmd {
6969
private Boolean activity;
7070

7171
@Parameter(name = ApiConstants.RECOVER, type = CommandType.BOOLEAN,
72-
description = "Set true is haprovider for simulator host should be be recoverable",
72+
description = "Set true is haprovider for simulator host should be recoverable",
7373
required = true)
7474
private Boolean recovery;
7575

7676
@Parameter(name = ApiConstants.FENCE, type = CommandType.BOOLEAN,
77-
description = "Set true is haprovider for simulator host should be be fence-able",
77+
description = "Set true is haprovider for simulator host should be fence-able",
7878
required = true)
7979
private Boolean fenceable;
8080

plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3542,7 +3542,7 @@ private VirtualMachineDiskInfo getMatchingExistingDiskWithVolumeDetails(VirtualM
35423542
if (diskInfo == null) {
35433543
diskInfo = diskInfoBuilder.getDiskInfoByDeviceBusName(infoInChain.getDiskDeviceBusName());
35443544
if (diskInfo != null) {
3545-
s_logger.info("Found existing disk from from chain device bus information: " + infoInChain.getDiskDeviceBusName());
3545+
s_logger.info("Found existing disk from chain device bus information: " + infoInChain.getDiskDeviceBusName());
35463546
return diskInfo;
35473547
}
35483548
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ private VirtualMachineDiskInfo getMatchingExistingDisk(VmwareHypervisorHost hype
22092209
if (diskInfo == null) {
22102210
diskInfo = diskInfoBuilder.getDiskInfoByDeviceBusName(infoInChain.getDiskDeviceBusName());
22112211
if (diskInfo != null) {
2212-
s_logger.info("Found existing disk from from chain device bus information: " + infoInChain.getDiskDeviceBusName());
2212+
s_logger.info("Found existing disk from chain device bus information: " + infoInChain.getDiskDeviceBusName());
22132213
return diskInfo;
22142214
}
22152215
}

test/integration/component/test_escalations_instances.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ def test_09_list_vm_by_zone_name(self):
12441244
status[0],
12451245
"Listing VM's by name and zone failed"
12461246
)
1247-
# Verifying Verifying that the size of the list is 1
1247+
# Verifying that the size of the list is 1
12481248
self.assertEqual(
12491249
1,
12501250
len(list_vms),
@@ -1404,7 +1404,7 @@ def test_10_list_vm_by_zone_name_state(self):
14041404
status[0],
14051405
"Listing VM's by name and zone failed"
14061406
)
1407-
# Verifying Verifying that the size of the list is 1
1407+
# Verifying that the size of the list is 1
14081408
self.assertEqual(
14091409
1,
14101410
len(list_vms),
@@ -1474,7 +1474,7 @@ def test_10_list_vm_by_zone_name_state(self):
14741474
status[0],
14751475
"Listing VM's by name, account and zone failed"
14761476
)
1477-
# Verifying Verifying that the size of the list is 1
1477+
# Verifying that the size of the list is 1
14781478
self.assertEqual(
14791479
1,
14801480
len(list_vms),

usage/src/main/java/com/cloud/usage/UsageManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@ protected void createUsageVpnUser(UsageEventVO event, Account account) {
18991899
if (usageVpnUsers.size() > 0) {
19001900
s_logger.debug(String.format("We do not need to create the usage VPN user [%s] assigned to account [%s] because it already exists.", userId, accountId));
19011901
} else {
1902-
s_logger.debug(String.format("Creating VPN user user [%s] assigned to account [%s] domain [%s], zone [%s], and created at [%s]", userId, accountId, domainId, zoneId,
1902+
s_logger.debug(String.format("Creating VPN user [%s] assigned to account [%s] domain [%s], zone [%s], and created at [%s]", userId, accountId, domainId, zoneId,
19031903
event.getCreateDate()));
19041904
UsageVPNUserVO vpnUser = new UsageVPNUserVO(zoneId, accountId, domainId, userId, event.getResourceName(), event.getCreateDate(), null);
19051905
_usageVPNUserDao.persist(vpnUser);

0 commit comments

Comments
 (0)