Skip to content

Commit d7baea7

Browse files
authored
Fix spelling (#257)
1 parent 403ea96 commit d7baea7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core/nodejsActionBase/runner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function initializeActionHandler(message) {
5555
let enableInitInstall= !process.env.OW_ENABLE_INIT_INSTALL ? 'true' : process.env.OW_ENABLE_INIT_INSTALL;
5656

5757
if (enableInitInstall === 'true') {
58-
// install npm modules during init if source code zip doesn´t containt them
58+
// install npm modules during init if source code zip doesn´t contain them
5959
// check if package.json exists and node_modules don`t
6060
if (fs.existsSync('package.json') && !fs.existsSync('./node_modules/')) {
6161
var package_json = JSON.parse(fs.readFileSync('package.json', 'utf8'));

docs/users/knative-build.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ NAME SECRETS AGE
218218
openwhisk-runtime-builder 2 3m46s
219219
```
220220

221-
## Install the BuildTemplate for the NodeJS runtime
221+
## Install the BuildTemplate for the Node.js runtime
222222

223223
```
224224
$ kubectl apply --filename buildtemplate.yaml
@@ -308,7 +308,7 @@ metadata:
308308
```
309309
</details>
310310

311-
## Building a Knative service using the NodeJS BuildTemplate
311+
## Building a Knative service using the Node.js BuildTemplate
312312

313313
We will use the simple "helloworld" test case to demonstrate how to use Knative to Build your function into container image and then deploy it as a Service.
314314

@@ -372,7 +372,7 @@ spec:
372372
kubectl apply -f build.yaml
373373
```
374374

375-
This creates a pod with a NodeJS runtime and all the action metadata (action code, main function name, etc) integrated into the container image. If for any reason there is a failure creating the pod, we can troubleshoot the deployment with:
375+
This creates a pod with a Node.js runtime and all the action metadata (action code, main function name, etc.) integrated into the container image. If for any reason there is a failure creating the pod, we can troubleshoot the deployment with:
376376

377377
#### `kubectl get pods`
378378

@@ -416,7 +416,7 @@ kubectl exec <build-pod-name> -- env
416416

417417
#### Configure service.yaml
418418

419-
Now that you have built the OpenWhisk NodeJS runtime image with the `helloworld` function "baked" into it, you can can deploy the image as a Knative Service.
419+
Now that you have built the OpenWhisk Node.js runtime image with the `helloworld` function "baked" into it, you can deploy the image as a Knative Service.
420420

421421
You will need to configure the Service template to point to the Docker Hub repo. where your Knative OpenWhisk runtime (with the Hello World function) will be "pulled" from.
422422

@@ -482,7 +482,7 @@ namespace "default" labeled
482482
#### PROBLEM: Kubernetes and Istio resources do not all say "created" on "apply"
483483

484484
1. Verify that you have configured Docker Desktop to have the required CPU and Memory values recommended above.
485-
2. Verify that all resources installed by applying either tha Knative or Istio YAML files show **"created"** during the installation.
485+
2. Verify that all resources installed by applying either the Knative or Istio YAML files show **"created"** during the installation.
486486
- If any of your resources were NOT **created**, then we recommend uninstalling Knative and Istio and trying again until you get the **created** result for all resources WITHOUT trying to apply a second time. Below is an example of successful creation of Knative resources:
487487

488488
<p>

0 commit comments

Comments
 (0)