Remove unneeded duplicate words (#8358)

This PR removes some unneeded duplicate words.
This commit is contained in:
John Bampton 2023-12-15 21:43:32 +10:00 committed by GitHub
parent de095ba70d
commit dda672503f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View File

@ -3248,7 +3248,7 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
// get updated state for the network
network = _networksDao.findById(networkId);
if (network.getState() != Network.State.Allocated && network.getState() != Network.State.Setup && !forced) {
s_logger.debug("Network is not not in the correct state to be destroyed: " + network.getState());
s_logger.debug("Network is not in the correct state to be destroyed: " + network.getState());
return false;
}

View File

@ -69,12 +69,12 @@ public final class ConfigureSimulatorHAProviderState extends BaseCmd {
private Boolean activity;
@Parameter(name = ApiConstants.RECOVER, type = CommandType.BOOLEAN,
description = "Set true is haprovider for simulator host should be be recoverable",
description = "Set true is haprovider for simulator host should be recoverable",
required = true)
private Boolean recovery;
@Parameter(name = ApiConstants.FENCE, type = CommandType.BOOLEAN,
description = "Set true is haprovider for simulator host should be be fence-able",
description = "Set true is haprovider for simulator host should be fence-able",
required = true)
private Boolean fenceable;

View File

@ -3542,7 +3542,7 @@ public class VmwareResource extends ServerResourceBase implements StoragePoolRes
if (diskInfo == null) {
diskInfo = diskInfoBuilder.getDiskInfoByDeviceBusName(infoInChain.getDiskDeviceBusName());
if (diskInfo != null) {
s_logger.info("Found existing disk from from chain device bus information: " + infoInChain.getDiskDeviceBusName());
s_logger.info("Found existing disk from chain device bus information: " + infoInChain.getDiskDeviceBusName());
return diskInfo;
}
}

View File

@ -2209,7 +2209,7 @@ public class VmwareStorageProcessor implements StorageProcessor {
if (diskInfo == null) {
diskInfo = diskInfoBuilder.getDiskInfoByDeviceBusName(infoInChain.getDiskDeviceBusName());
if (diskInfo != null) {
s_logger.info("Found existing disk from from chain device bus information: " + infoInChain.getDiskDeviceBusName());
s_logger.info("Found existing disk from chain device bus information: " + infoInChain.getDiskDeviceBusName());
return diskInfo;
}
}

View File

@ -1244,7 +1244,7 @@ class TestListInstances(cloudstackTestCase):
status[0],
"Listing VM's by name and zone failed"
)
# Verifying Verifying that the size of the list is 1
# Verifying that the size of the list is 1
self.assertEqual(
1,
len(list_vms),
@ -1404,7 +1404,7 @@ class TestListInstances(cloudstackTestCase):
status[0],
"Listing VM's by name and zone failed"
)
# Verifying Verifying that the size of the list is 1
# Verifying that the size of the list is 1
self.assertEqual(
1,
len(list_vms),
@ -1474,7 +1474,7 @@ class TestListInstances(cloudstackTestCase):
status[0],
"Listing VM's by name, account and zone failed"
)
# Verifying Verifying that the size of the list is 1
# Verifying that the size of the list is 1
self.assertEqual(
1,
len(list_vms),

View File

@ -1899,7 +1899,7 @@ public class UsageManagerImpl extends ManagerBase implements UsageManager, Runna
if (usageVpnUsers.size() > 0) {
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));
} else {
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,
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,
event.getCreateDate()));
UsageVPNUserVO vpnUser = new UsageVPNUserVO(zoneId, accountId, domainId, userId, event.getResourceName(), event.getCreateDate(), null);
_usageVPNUserDao.persist(vpnUser);