Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 1ed0dc6

Browse files
committed
Fix typos
1 parent 2ff54e4 commit 1ed0dc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/COMPOSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Flags:
2323
```
2424
The `compose` command requires either a Javascript file that evaluates to a composition (for example [demo.js](../samples/demo.js)) or a JSON file that encodes a composition (for example [demo.json](../samples/demo.json)). The JSON format is documented in [FORMAT.md](FORMAT.md).
2525

26-
The `compose` command has three mode of operation:
26+
The `compose` command has three modes of operation:
2727
- By default or when the `--json` option is specified, the command returns the composition encoded as a JSON dictionary.
2828
- When the `--deploy` option is specified, the command deploys the composition given the desired name for the composition.
2929
- When the `--encode` option is specified, the command returns the Javascript code for the [conductor action](https://github.com/apache/incubator-openwhisk/blob/master/docs/conductors.md) for the composition.

docs/COMPOSITIONS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ In this example, the `composer.sequence('triple', 'increment')` composition is g
8181

8282
Compositions are implemented by means of OpenWhisk [conductor actions](https://github.com/apache/incubator-openwhisk/blob/master/docs/conductors.md). The conductor actions are implicitly synthesized when compositions are deployed using the `compose` command or the `composer` module. The `encode` method on compositions may also be used to generate the conductor actions for compositions.
8383
- `composition.encode()` replaces all the compositions nested inside `composition` with conductor actions. It does not alter the composition itself, only its components.
84-
- `composition.encode(name)` is a shorthand for `composition.named(name).encode()`. It encode the composition and all its components into conductor actions, replacing the composition with an invocation of the action named `name` bound to the conductor action for `composition`.
84+
- `composition.encode(name)` is a shorthand for `composition.named(name).encode()`. It encodes the composition and all its components into conductor actions, replacing the composition with an invocation of the action named `name` bound to the conductor action for `composition`.

0 commit comments

Comments
 (0)