This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-client-js.git
The following commit(s) were added to refs/heads/master by this push:
new 10fb2ad chore: fix spelling (#219)
10fb2ad is described below
commit 10fb2ad8044f06a25bdeed06f8754b36e571a254
Author: John Bampton <[email protected]>
AuthorDate: Wed Mar 10 02:28:05 2021 +1000
chore: fix spelling (#219)
* 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]>
---
README.md | 2 --
lib/main.d.ts | 2 +-
test/integration/rules.test.js | 2 +-
test/unit/client.test.js | 2 +-
4 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 9ca611a..05f3929 100644
--- a/README.md
+++ b/README.md
@@ -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.
@@ -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.
diff --git a/lib/main.d.ts b/lib/main.d.ts
index c515554..6e3c4ad 100644
--- a/lib/main.d.ts
+++ b/lib/main.d.ts
@@ -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[]>;
diff --git a/test/integration/rules.test.js b/test/integration/rules.test.js
index fbf03b6..8357986 100644
--- a/test/integration/rules.test.js
+++ b/test/integration/rules.test.js
@@ -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)
diff --git a/test/unit/client.test.js b/test/unit/client.test.js
index fff7630..99f473d 100644
--- a/test/unit/client.test.js
+++ b/test/unit/client.test.js
@@ -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')