Skip to content

Commit 8f8a4aa

Browse files
authored
Fix spelling (#5522)
1 parent db2b1c6 commit 8f8a4aa

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

Diff for: ansible/roles/nginx/templates/nginx.conf.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ http {
8181

8282
proxy_set_header X-OW-EXTRA-LOGGING $extra_logging;
8383
# Set the request id generated by nginx as tid-header to the upstream.
84-
# This tid is either the request-id generated by ngix or a tid, sent by the caller.
84+
# This tid is either the request-id generated by nginx or a tid, sent by the caller.
8585
proxy_set_header {{ transactions.header }} $request_id;
8686

8787
# Send the tid always back as header.

Diff for: common/scala/src/main/scala/org/apache/openwhisk/core/entity/EntityPath.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected[core] class EntityPath private (private val path: Seq[String]) extends
5353
def addPath(e: EntityName) = EntityPath(path :+ e.name)
5454

5555
/**
56-
* Concatenates given path to existin path.
56+
* Concatenates given path to existing path.
5757
*/
5858
def addPath(p: EntityPath) = EntityPath(path ++ p.path)
5959

Diff for: common/scala/src/main/scala/org/apache/openwhisk/core/entity/WhiskStore.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ trait WhiskEntityQueries[T] {
166166
*/
167167
def listCollectionInNamespace[A <: WhiskEntity](
168168
db: ArtifactStore[A],
169-
path: EntityPath, // could be a namesapce or namespace + package name
169+
path: EntityPath, // could be a namespace or namespace + package name
170170
skip: Int,
171171
limit: Int,
172172
includeDocs: Boolean = false,

Diff for: core/invoker/src/main/resources/application.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ whisk {
9696
#
9797
#pod-template =
9898

99-
# Set this optional string to be the namespace that the invoker should target for adding pods. This allows the invoker to run in a namesapce it doesn't have API access to but add pods to another namespace. See also https://github.com/apache/openwhisk/issues/4711
100-
# When not set the underlying client may pickup the namesapce from the kubeconfig or via system property setting.
99+
# Set this optional string to be the namespace that the invoker should target for adding pods. This allows the invoker to run in a namespace it doesn't have API access to but add pods to another namespace. See also https://github.com/apache/openwhisk/issues/4711
100+
# When not set the underlying client may pickup the namespace from the kubeconfig or via system property setting.
101101
# See https://github.com/fabric8io/kubernetes-client#configuring-the-client for more information.
102102
# action-namespace = "ns-actions"
103103

Diff for: core/routemgmt/common/apigw-utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ function replaceNamespaceInUrl(url, namespace) {
901901
* body: JSON object or JSON string
902902
* }
903903
* Otherwise, the action was invoked as a regular OpenWhisk action
904-
* (i.e. https://OW-HOST/api/v1/namesapces/NS/actions/ACTION) and the
904+
* (i.e. https://OW-HOST/api/v1/namespaces/NS/actions/ACTION) and the
905905
* error response is just a string. OpenWhisk backend logic will ultimately
906906
* convert this string into the above error object format.
907907
*
@@ -944,7 +944,7 @@ function makeErrorResponseObject(err, isWebAction) {
944944
* body: JSON object or JSON string
945945
* }
946946
* Otherwise, the action was invoked as a regular OpenWhisk action
947-
* (i.e. https://OW-HOST/api/v1/namesapces/NS/actions/ACTION) and the
947+
* (i.e. https://OW-HOST/api/v1/namespaces/NS/actions/ACTION) and the
948948
* response is just a string. OpenWhisk backend logic will ultimately
949949
* convert this string into the above object format.
950950
*

Diff for: tests/src/test/scala/system/basic/WskActivationTests.scala

+5-5
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ class WskActivationTests extends TestHelpers with WskTestHelpers with WskActorSy
5656
(wp, assetHelper) =>
5757
val packageName = "shared-package"
5858
val actionName = "echo"
59-
var invocationNamesapce = if (wskprops.namespace == "_") "guest" else wskprops.namespace
60-
val packageActionName = s"/${invocationNamesapce}/${packageName}/${actionName}"
59+
var invocationNamespace = if (wskprops.namespace == "_") "guest" else wskprops.namespace
60+
val packageActionName = s"/${invocationNamespace}/${packageName}/${actionName}"
6161

6262
assetHelper.withCleaner(wsk.pkg, packageName) { (pkg, _) =>
6363
pkg.create(packageName, shared = Some(true))(wp)
@@ -68,15 +68,15 @@ class WskActivationTests extends TestHelpers with WskTestHelpers with WskActorSy
6868
}
6969

7070
withActivation(wsk.activation, wsk.action.invoke(packageActionName)(wp)) { activation =>
71-
activation.namespace shouldBe invocationNamesapce
71+
activation.namespace shouldBe invocationNamespace
7272
}(wp)
7373

7474
val systemId = "whisk.system"
7575
val wskprops2 = WskProps(authKey = WskAdmin.listKeys(systemId)(0)._1, namespace = systemId)
76-
invocationNamesapce = if (wskprops2.namespace == "_") "guest" else wskprops2.namespace
76+
invocationNamespace = if (wskprops2.namespace == "_") "guest" else wskprops2.namespace
7777

7878
withActivation(wsk.activation, wsk.action.invoke(packageActionName)(wskprops2)) { activation =>
79-
activation.namespace shouldBe invocationNamesapce
79+
activation.namespace shouldBe invocationNamespace
8080
}(wskprops2)
8181
}
8282
}

0 commit comments

Comments
 (0)