Skip to content

Commit

Permalink
chore: fix spelling (#219)
Browse files Browse the repository at this point in the history
* chore: fix spelling
* Remove version reference (as it is not possible to set a version at user level yet).

Co-authored-by: rodric rabbah <[email protected]>
  • Loading branch information
jbampton and rabbah authored Mar 9, 2021
1 parent 5b313c1 commit 10fb2ad
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ The following optional parameters are supported:
- `annotations` - object containing annotations for the action (default: `{}`)
- `limits` - object containing limits for the action (default: `{}`)
- `kind` - runtime environment parameter, ignored when `action` is an object (default: `nodejs:default`)
- `version` - set semantic version of the action. If parameter is empty when create new action openwisk generate 0.0.1 value when update an action increase the patch version.

If you pass in an array for the first parameter, the `create` call will be executed for each array item. The function returns a Promise which resolves with the results when all operations have finished.

Expand All @@ -461,7 +460,6 @@ The following optional parameters are supported:
- `params` - object containing default parameters for the action (default: `{}`)
- `annotations` - object containing annotations for the action (default: `{}`)
- `limits` - object containing limits for the action (default: `{}`)
- `version` - set semantic version of the action. If parameter is empty when create new action openwisk generate 0.0.1 value when update an action increase the patch version.

If you pass in an array for the first parameter, the `create` call will be executed for each array item. The function returns a Promise which resolves with the results when all operations have finished.

Expand Down
2 changes: 1 addition & 1 deletion lib/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ declare namespace openwhisk {
routes: Routes;
}

// Ressources
// Resources

interface Actions {
list(options?: { namespace?: string; skip?: number; limit?: number; count?: boolean; }): Promise<ActionDesc[]>;
Expand Down
2 changes: 1 addition & 1 deletion test/integration/rules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ test('get a non-existing rule, expecting 404', async t => {
})
})

// Running update tests conconcurrently leads to resource conflict errors.
// Running update tests concurrently leads to resource conflict errors.
test.serial('create, get and delete a rule', t => {
const errors = err => {
console.log(err)
Expand Down
2 changes: 1 addition & 1 deletion test/unit/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ test('should throw errors for non-HTTP response failures', t => {
t.throws(() => client.handleErrors({ message: 'error message' }), /error message/)
})

test('should contain x-namespace-id header when namespace in contructor options', async t => {
test('should contain x-namespace-id header when namespace in constructor options', async t => {
const authHandler = {
getAuthHeader: () => {
return Promise.resolve('Bearer access_token')
Expand Down

0 comments on commit 10fb2ad

Please sign in to comment.