This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new e44c17e0770 Fix spelling in docs and code comments only (#8774)
e44c17e0770 is described below
commit e44c17e07703ac0ceda7326585f433fe33b37ca4
Author: John Bampton <[email protected]>
AuthorDate: Mon Mar 25 23:38:01 2024 +1000
Fix spelling in docs and code comments only (#8774)
---
.../ovm3/src/test/resources/scripts/create_pool_cluster.py | 6 +++---
server/src/main/java/com/cloud/api/ApiSessionListener.java | 2 +-
.../src/main/java/com/cloud/network/vpc/NetworkACLManagerImpl.java | 2 +-
server/src/main/java/com/cloud/resource/ResourceManagerImpl.java | 4 ++--
ui/README.md | 6 +++---
ui/docs/development.md | 6 +++---
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git
a/plugins/hypervisors/ovm3/src/test/resources/scripts/create_pool_cluster.py
b/plugins/hypervisors/ovm3/src/test/resources/scripts/create_pool_cluster.py
index bba41ab48e0..830dc90caed 100755
--- a/plugins/hypervisors/ovm3/src/test/resources/scripts/create_pool_cluster.py
+++ b/plugins/hypervisors/ovm3/src/test/resources/scripts/create_pool_cluster.py
@@ -30,7 +30,7 @@ normalRepo = 0
try:
if normalRepo:
print "normal repo"
- # this litterally throws EVERYTHING away on the repo
+ # this literally throws EVERYTHING away on the repo
repoDom = parseString(server.discover_repository_db())
for node in repoDom.getElementsByTagName('Repository'):
repoUuid = node.attributes['Uuid']
@@ -38,7 +38,7 @@ try:
localMount =
node.getElementsByTagName('Mount_point')[0].firstChild.nodeValue
# there is a "strong" relation between repo's and VMs
- # onfortunately there is no reference in the vm.cfg
+ # unfortunately there is no reference in the vm.cfg
# or any known info in the configuration of the VM
# in which repo it lives....
for dirname, dirnames, filenames in os.walk('%s/VirtualMachines/' %
localMount):
@@ -146,7 +146,7 @@ try:
journalesize = ""
# o2cb is the problem.... /etc/init.d/o2cb
- # sets it's config in /etc/sysconfig/o2cb (can be removed)
+ # sets its config in /etc/sysconfig/o2cb (can be removed)
# dmsetup requires the stopping of o2cb first,
# then the removal of the config, after which dmsetup
# can remove the device from /dev/mapper/
diff --git a/server/src/main/java/com/cloud/api/ApiSessionListener.java
b/server/src/main/java/com/cloud/api/ApiSessionListener.java
index 46ebb404a54..a82c043ee3b 100644
--- a/server/src/main/java/com/cloud/api/ApiSessionListener.java
+++ b/server/src/main/java/com/cloud/api/ApiSessionListener.java
@@ -32,7 +32,7 @@ public class ApiSessionListener implements
HttpSessionListener {
private static Map<String, HttpSession> sessions = new
ConcurrentHashMap<>();
/**
- * @return the internal adminstered session count
+ * @return the internal administered session count
*/
public static long getSessionCount() {
return sessions.size();
diff --git
a/server/src/main/java/com/cloud/network/vpc/NetworkACLManagerImpl.java
b/server/src/main/java/com/cloud/network/vpc/NetworkACLManagerImpl.java
index 2f37bdda75a..b20e1af4673 100644
--- a/server/src/main/java/com/cloud/network/vpc/NetworkACLManagerImpl.java
+++ b/server/src/main/java/com/cloud/network/vpc/NetworkACLManagerImpl.java
@@ -169,7 +169,7 @@ public class NetworkACLManagerImpl extends ManagerBase
implements NetworkACLMana
final List<NetworkACLItemVO> aclItems =
_networkACLItemDao.listByACL(acl.getId());
if (aclItems == null || aclItems.isEmpty()) {
//Revoke ACL Items of the existing ACL if the new network acl is
empty
- //Other wise existing rules will not be removed on the router
elelment
+ //Otherwise existing rules will not be removed on the router
element
logger.debug("New network ACL is empty. Revoke existing rules
before applying ACL");
if (!revokeACLItemsForPrivateGw(gateway)) {
throw new CloudRuntimeException("Failed to replace network
ACL. Error while removing existing ACL " + "items for privatewa gateway: " +
gateway.getId());
diff --git a/server/src/main/java/com/cloud/resource/ResourceManagerImpl.java
b/server/src/main/java/com/cloud/resource/ResourceManagerImpl.java
index 8e8605874b4..6c5433c851a 100755
--- a/server/src/main/java/com/cloud/resource/ResourceManagerImpl.java
+++ b/server/src/main/java/com/cloud/resource/ResourceManagerImpl.java
@@ -733,7 +733,7 @@ public class ResourceManagerImpl extends ManagerBase
implements ResourceManager,
// VMware only allows adding host to an existing cluster, as we
// already have a lot of information
// in cluster object, to simplify user input, we will construct
- // neccessary information here
+ // necessary information here
final Map<String, String> clusterDetails =
_clusterDetailsDao.findDetails(clusterId);
username = clusterDetails.get("username");
assert username != null;
@@ -2799,7 +2799,7 @@ public class ResourceManagerImpl extends ManagerBase
implements ResourceManager,
final StoragePoolVO storagePool =
_storageMgr.findLocalStorageOnHost(host.getId());
if (forceDestroyStorage && storagePool != null) {
- // put local storage into mainenance mode, will set all the VMs on
+ // put local storage into maintenance mode, will set all the VMs on
// this local storage into stopped state
if (storagePool.getStatus() == StoragePoolStatus.Up ||
storagePool.getStatus() == StoragePoolStatus.ErrorInMaintenance) {
try {
diff --git a/ui/README.md b/ui/README.md
index 99b04a3e3aa..ac69ca5b1b6 100644
--- a/ui/README.md
+++ b/ui/README.md
@@ -1,6 +1,6 @@
# CloudStack UI
-A modern role-based progressive CloudStack UI based on VueJS and Ant Design.
+A modern role-based progressive CloudStack UI based on Vue.js and Ant Design.

@@ -142,7 +142,7 @@ docker container:
## Documentation
-- VueJS Guide: https://vuejs.org/guide/
+- Vue.js Guide: https://vuejs.org/guide/
- Vue Ant Design: https://www.antdv.com/docs/vue/introduce/
- UI Developer [Docs](docs)
- JavaScript ES6 Reference: https://www.tutorialspoint.com/es6/
@@ -152,7 +152,7 @@ docker container:
The UI uses the following:
-- [VueJS](https://vuejs.org/)
+- [Vue.js](https://vuejs.org/)
- [Ant Design Spec](https://ant.design/docs/spec/introduce)
- [Ant Design Vue](https://vue.ant.design/)
- [Ant Design Pro Vue](https://github.com/sendya/ant-design-pro-vue)
diff --git a/ui/docs/development.md b/ui/docs/development.md
index e984793bc70..dfee2b61331 100644
--- a/ui/docs/development.md
+++ b/ui/docs/development.md
@@ -1,8 +1,8 @@
# UI Development
-The modern CloudStack UI is role-based progressive app that uses VueJS and Ant
Design.
+The modern CloudStack UI is role-based progressive app that uses Vue.js and
Ant Design.
-JavaScript, VueJS references:
+JavaScript, Vue.js references:
- https://www.w3schools.com/js/
- https://www.geeksforgeeks.org/javascript-tutorial/
- https://vuejs.org/v2/guide/
@@ -207,7 +207,7 @@ The Resource View has 2 sections:
with the related entities
- DetailsTab to the right which provide the basic details about the resource.
-Custom tabs to render custom details, addtional information of the resource
+Custom tabs to render custom details, additional information of the resource
The list of fields to be displayed maybe defined as an array
or a function in case we need to selectively (i.e., based on certain
conditions) restrict the view of certain columns. The names specified in the