Skip to content

Commit 1593736

Browse files
authored
Fix spelling (#6161)
* Fix spelling * Fix spelling
1 parent cc70843 commit 1593736

File tree

38 files changed

+53
-53
lines changed

38 files changed

+53
-53
lines changed

agent/bindir/cloud-setup-agent.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def getUserInputs():
8080
network = input("Please choose which network used to create VM:[%s]"%defNic)
8181
if network == "":
8282
if defNic == "":
83-
print("You need to specifiy one of Nic or bridge on your system")
83+
print("You need to specify one of Nic or bridge on your system")
8484
exit(1)
8585
elif network == "":
8686
network = defNic

agent/conf/agent.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ hypervisor.type=kvm
263263
# Recommend value is: i6300esb
264264
#
265265
# vm.watchdog.action=none
266-
# Action to take when the Guest/Instance is no longer notifiying the Watchdog
266+
# Action to take when the Guest/Instance is no longer notifying the Watchdog
267267
# timer.
268268
# For all actions refer to the libvirt documentation.
269269
# Recommended values are: none, reset and poweroff.

agent/src/main/java/com/cloud/agent/Agent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ public void processStartupAnswer(final Answer answer, final Response response, f
568568
return;
569569
}
570570

571-
s_logger.info("Proccess agent startup answer, agent id = " + startup.getHostId());
571+
s_logger.info("Process agent startup answer, agent id = " + startup.getHostId());
572572

573573
setId(startup.getHostId());
574574
_pingInterval = (long)startup.getPingInterval() * 1000; // change to ms.

agent/src/main/java/com/cloud/agent/direct/download/DirectTemplateDownloaderImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public boolean validateChecksum() {
125125
s_logger.info("Performing checksum validation for downloaded template " + templateId + " using " + checksum + ", retries left: " + retry);
126126
valid = DigestHelper.check(checksum, new FileInputStream(downloadedFilePath));
127127
if (!valid && retry > 0) {
128-
s_logger.info("Checksum validation failded, re-downloading template");
128+
s_logger.info("Checksum validation failed, re-downloading template");
129129
redownload = true;
130130
resetDownloadFile();
131131
downloadTemplate();

api/src/main/java/com/cloud/network/NetworkMigrationResponder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public interface NetworkMigrationResponder {
4343
* Cancel for migration preparation.
4444
*
4545
* This method will be called per nic when the entire vm migration
46-
* process failed and need to release the resouces that was
46+
* process failed and need to release the resources that was
4747
* allocated at the migration preparation.
4848
* @param nic destination nic
4949
* @param network destination network

api/src/main/java/com/cloud/network/guru/NetworkGuru.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* A Network goes through the following life cycles through the NetworkGuru.
4242
* - When a guest network is created, NetworkGuru is asked to "design" the network.
4343
* This means the NetworkGuru checks the parameters such as cidr, gateway,
44-
* vlan, etc and returns a network that can work with those paremeters.
44+
* vlan, etc and returns a network that can work with those parameters.
4545
* Note that at this point the network is only a virtual network. It has
4646
* not been substantiated with resources, such as vlan, to make the network
4747
* functional in the physical environment. At this stage, the network is in

api/src/main/java/com/cloud/server/ManagementService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public interface ManagementService {
9191
static final String Name = "management-server";
9292

9393
/**
94-
* returns the a map of the names/values in the configuraton table
94+
* returns the a map of the names/values in the configuration table
9595
*
9696
* @return map of configuration name/values
9797
*/

api/src/main/java/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public abstract class BaseUpdateTemplateOrIsoCmd extends BaseCmd {
3333
@Parameter(name = ApiConstants.BOOTABLE, type = CommandType.BOOLEAN, description = "true if image is bootable, false otherwise; available only for updateIso API")
3434
private Boolean bootable;
3535

36-
@Parameter(name = ApiConstants.REQUIRES_HVM, type = CommandType.BOOLEAN, description = "true if the template requres HVM, false otherwise; available only for updateTemplate API")
36+
@Parameter(name = ApiConstants.REQUIRES_HVM, type = CommandType.BOOLEAN, description = "true if the template requires HVM, false otherwise; available only for updateTemplate API")
3737
private Boolean requiresHvm;
3838

3939
@Parameter(name = ApiConstants.DISPLAY_TEXT, type = CommandType.STRING, description = "the display text of the image", length = 4096)

api/src/main/java/org/apache/cloudstack/api/command/user/template/CreateTemplateCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class CreateTemplateCmd extends BaseAsyncCreateCmd implements UserCmd {
9696
@Parameter(name = ApiConstants.SSHKEY_ENABLED, type = CommandType.BOOLEAN, description = "true if the template supports the sshkey upload feature; default is false")
9797
private Boolean sshKeyEnabled;
9898

99-
@Parameter(name = ApiConstants.REQUIRES_HVM, type = CommandType.BOOLEAN, description = "true if the template requres HVM, false otherwise")
99+
@Parameter(name = ApiConstants.REQUIRES_HVM, type = CommandType.BOOLEAN, description = "true if the template requires HVM, false otherwise")
100100
private Boolean requiresHvm;
101101

102102
@Parameter(name = ApiConstants.SNAPSHOT_ID,

api/src/test/java/org/apache/cloudstack/api/command/test/UpdateRoleCmdTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void testUpdateSuccess() {
5555
when(roleService.findRole(updateRoleCmd.getRoleId())).thenReturn(role);
5656
when(role.getId()).thenReturn(1L);
5757
when(role.getUuid()).thenReturn("12345-abcgdkajd");
58-
when(role.getDescription()).thenReturn("Defualt user");
58+
when(role.getDescription()).thenReturn("Default user");
5959
when(role.getName()).thenReturn("User");
6060
when(role.getRoleType()).thenReturn(RoleType.User);
6161
when(roleService.updateRole(role,updateRoleCmd.getRoleName(),updateRoleCmd.getRoleType(),updateRoleCmd.getRoleDescription())).thenReturn(role);

0 commit comments

Comments
 (0)