Skip to content

Commit e44c17e

Browse files
authored
Fix spelling in docs and code comments only (#8774)
1 parent adc05f8 commit e44c17e

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

plugins/hypervisors/ovm3/src/test/resources/scripts/create_pool_cluster.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
try:
3131
if normalRepo:
3232
print "normal repo"
33-
# this litterally throws EVERYTHING away on the repo
33+
# this literally throws EVERYTHING away on the repo
3434
repoDom = parseString(server.discover_repository_db())
3535
for node in repoDom.getElementsByTagName('Repository'):
3636
repoUuid = node.attributes['Uuid']
3737
remoteMount = node.getElementsByTagName('Fs_location')[0].firstChild.nodeValue
3838
localMount = node.getElementsByTagName('Mount_point')[0].firstChild.nodeValue
3939

4040
# there is a "strong" relation between repo's and VMs
41-
# onfortunately there is no reference in the vm.cfg
41+
# unfortunately there is no reference in the vm.cfg
4242
# or any known info in the configuration of the VM
4343
# in which repo it lives....
4444
for dirname, dirnames, filenames in os.walk('%s/VirtualMachines/' % localMount):
@@ -146,7 +146,7 @@
146146
journalesize = ""
147147

148148
# o2cb is the problem.... /etc/init.d/o2cb
149-
# sets it's config in /etc/sysconfig/o2cb (can be removed)
149+
# sets its config in /etc/sysconfig/o2cb (can be removed)
150150
# dmsetup requires the stopping of o2cb first,
151151
# then the removal of the config, after which dmsetup
152152
# can remove the device from /dev/mapper/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class ApiSessionListener implements HttpSessionListener {
3232
private static Map<String, HttpSession> sessions = new ConcurrentHashMap<>();
3333

3434
/**
35-
* @return the internal adminstered session count
35+
* @return the internal administered session count
3636
*/
3737
public static long getSessionCount() {
3838
return sessions.size();

server/src/main/java/com/cloud/network/vpc/NetworkACLManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public boolean replaceNetworkACLForPrivateGw(final NetworkACL acl, final Private
169169
final List<NetworkACLItemVO> aclItems = _networkACLItemDao.listByACL(acl.getId());
170170
if (aclItems == null || aclItems.isEmpty()) {
171171
//Revoke ACL Items of the existing ACL if the new network acl is empty
172-
//Other wise existing rules will not be removed on the router elelment
172+
//Otherwise existing rules will not be removed on the router element
173173
logger.debug("New network ACL is empty. Revoke existing rules before applying ACL");
174174
if (!revokeACLItemsForPrivateGw(gateway)) {
175175
throw new CloudRuntimeException("Failed to replace network ACL. Error while removing existing ACL " + "items for privatewa gateway: " + gateway.getId());

server/src/main/java/com/cloud/resource/ResourceManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ private List<HostVO> discoverHostsFull(final Long dcId, final Long podId, Long c
733733
// VMware only allows adding host to an existing cluster, as we
734734
// already have a lot of information
735735
// in cluster object, to simplify user input, we will construct
736-
// neccessary information here
736+
// necessary information here
737737
final Map<String, String> clusterDetails = _clusterDetailsDao.findDetails(clusterId);
738738
username = clusterDetails.get("username");
739739
assert username != null;
@@ -2799,7 +2799,7 @@ public void deleteRoutingHost(final HostVO host, final boolean isForced, final b
27992799

28002800
final StoragePoolVO storagePool = _storageMgr.findLocalStorageOnHost(host.getId());
28012801
if (forceDestroyStorage && storagePool != null) {
2802-
// put local storage into mainenance mode, will set all the VMs on
2802+
// put local storage into maintenance mode, will set all the VMs on
28032803
// this local storage into stopped state
28042804
if (storagePool.getStatus() == StoragePoolStatus.Up || storagePool.getStatus() == StoragePoolStatus.ErrorInMaintenance) {
28052805
try {

ui/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CloudStack UI
22

3-
A modern role-based progressive CloudStack UI based on VueJS and Ant Design.
3+
A modern role-based progressive CloudStack UI based on Vue.js and Ant Design.
44

55
![Screenshot](docs/screenshot-dashboard.png)
66

@@ -142,7 +142,7 @@ docker container:
142142

143143
## Documentation
144144

145-
- VueJS Guide: https://vuejs.org/guide/
145+
- Vue.js Guide: https://vuejs.org/guide/
146146
- Vue Ant Design: https://www.antdv.com/docs/vue/introduce/
147147
- UI Developer [Docs](docs)
148148
- JavaScript ES6 Reference: https://www.tutorialspoint.com/es6/
@@ -152,7 +152,7 @@ docker container:
152152

153153
The UI uses the following:
154154

155-
- [VueJS](https://vuejs.org/)
155+
- [Vue.js](https://vuejs.org/)
156156
- [Ant Design Spec](https://ant.design/docs/spec/introduce)
157157
- [Ant Design Vue](https://vue.ant.design/)
158158
- [Ant Design Pro Vue](https://github.com/sendya/ant-design-pro-vue)

ui/docs/development.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# UI Development
22

3-
The modern CloudStack UI is role-based progressive app that uses VueJS and Ant Design.
3+
The modern CloudStack UI is role-based progressive app that uses Vue.js and Ant Design.
44

5-
JavaScript, VueJS references:
5+
JavaScript, Vue.js references:
66
- https://www.w3schools.com/js/
77
- https://www.geeksforgeeks.org/javascript-tutorial/
88
- https://vuejs.org/v2/guide/
@@ -207,7 +207,7 @@ The Resource View has 2 sections:
207207
with the related entities
208208
- DetailsTab to the right which provide the basic details about the resource.
209209

210-
Custom tabs to render custom details, addtional information of the resource
210+
Custom tabs to render custom details, additional information of the resource
211211
The list of fields to be displayed maybe defined as an array
212212
or a function in case we need to selectively (i.e., based on certain
213213
conditions) restrict the view of certain columns. The names specified in the

0 commit comments

Comments
 (0)