Skip to content

Commit

Permalink
chore: fix spelling (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Mar 9, 2021
1 parent 30746d1 commit 04482ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion knative-build/archive/app-deployment-with-knative-0.2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ default 1 4d

**Note: We are deploying this application under `default` namespace. We had deployed `helloworld-go` under the same `default` namespace. We have noticed a limitation with Kubernetes on Docker which restricts number of pods under one single namespace. Please make sure that there are no pods exist under `default` and if they do, delete them all using `kubectl delete --all pods --namespace=default`**

Create a file named `service.yaml` and copy the following defintion. Make sure to replace `{DOCKER_USERNAME}` with your own Docker Hub username:
Create a file named `service.yaml` and copy the following definition. Make sure to replace `{DOCKER_USERNAME}` with your own Docker Hub username:

```yaml
apiVersion: serving.knative.dev/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ curl -H "Host: java-helloworld.default.example.com" -X POST http://localhost/

#### Initialize the runtime

You have an option to initialize the runtime with the function and other configuration data if its not initialized (i.e. built using [build-without-code.yaml.tmpl](build-without-code.yaml.tmpl))
You have an option to initialize the runtime with the function and other configuration data if it's not initialized (i.e. built using [build-without-code.yaml.tmpl](build-without-code.yaml.tmpl))

```
curl -H "Host: java-helloworld.default.example.com" -d "@knative-data-init.json" -H "Content-Type: application/json" http://localhost/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ curl -H "Host: java-helloworld-with-params.default.example.com" -d '{"value": {"

#### Initialize the runtime

You have an option to initialize the runtime with the function and other configuration data if its not initialized (i.e. built using [build-without-code.yaml.tmpl](build-without-code.yaml.tmpl))
You have an option to initialize the runtime with the function and other configuration data if it's not initialized (i.e. built using [build-without-code.yaml.tmpl](build-without-code.yaml.tmpl))

```
curl -H "Host: java-helloworld-with-params.default.example.com" -d "@knative-data-init.json" -H "Content-Type: application/json" http://localhost/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ curl -H "Host: java-helloworld-with-params-from-env.default.example.com" -X POST

#### Initialize the runtime

You have an option to initialize the runtime with the function and other configuration data if its not initialized (i.e. built using [build-without-code.yaml.tmpl](build-without-code.yaml.tmpl))
You have an option to initialize the runtime with the function and other configuration data if it's not initialized (i.e. built using [build-without-code.yaml.tmpl](build-without-code.yaml.tmpl))

```
curl -H "Host: java-helloworld-with-params-from-env.default.example.com" -d "@knative-data-init.json" -H "Content-Type: application/json" http://localhost/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private class RunHandler implements HttpHandler {
public void handle(HttpExchange t) throws IOException {
long startTime = Debug.start();
if (loader == null) {
// check if the Jar file contents are set in the enviorment
// check if the Jar file contents are set in the environment
// OW_AUTO_INIT: Jar file with absolute/relative path
// OW_AUTO_INIT_MAIN: name of the function in the "OW_AUTO_INIT" to call as the action handler
String ow_auto_init = System.getenv(OW_AUTO_INIT);
Expand Down

0 comments on commit 04482ad

Please sign in to comment.