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-runtime-go.git


The following commit(s) were added to refs/heads/master by this push:
     new d9a5b87  chore: fix spelling (#141)
d9a5b87 is described below

commit d9a5b87b1594f831a1a3cf7757b5e7c185803aff
Author: John Bampton <[email protected]>
AuthorDate: Wed Mar 10 02:19:41 2021 +1000

    chore: fix spelling (#141)
---
 CHANGES.md                     | 4 ++--
 docs/ACTION.md                 | 2 +-
 docs/BUILD.md                  | 2 +-
 docs/DEPLOY.md                 | 4 ++--
 examples/Makefile              | 2 +-
 examples/package-main/main.go  | 2 +-
 golang1.13/lib/launcher.go     | 2 +-
 golang1.15/lib/launcher.go     | 2 +-
 openwhisk/_test/action/main.go | 2 +-
 openwhisk/_test/hello2.src     | 2 +-
 openwhisk/_test/src/main.go    | 2 +-
 openwhisk/actionProxy.go       | 2 +-
 openwhisk/compiler_test.go     | 2 +-
 openwhisk/debug.go             | 2 +-
 openwhisk/initHandler.go       | 2 +-
 openwhisk/initHandler_test.go  | 2 +-
 16 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index e5bb141..895470a 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -49,11 +49,11 @@ ActionLoop for Scripting Languages
 - if you upload a folder `src/exec` the entire directory is moved to `bin`, 
including other uploaded files
 - Support for Go 1.12.4
 - Support for jar not expanded for Java when set OW_SAVE_JAR
-- You can initalize multiple times when debugging
+- You can initialize multiple times when debugging
 - Removed gogradle plugin, now building directly with go
 
 # ActionLoop v1.0.1
 - embedded file type detection
 - now showing the commend
 - librdkafka in golang image
-- showing version numbuer with -debug
+- showing version number with -debug
diff --git a/docs/ACTION.md b/docs/ACTION.md
index 1a1eaa7..bfea8a1 100644
--- a/docs/ACTION.md
+++ b/docs/ACTION.md
@@ -137,7 +137,7 @@ By default the runtime expects you provide a main function 
that will serve one r
 
 You can however overwrite the default protocol and provide your how 
implementation of the ActionLoop. If you do so, you will have to take care of 
opening file descriptors, reading input, parse JSON and set environment 
variables.
 
-To overwrite the default ActionLoop you can do this either sending a single 
file source actino or a zip action.
+To overwrite the default ActionLoop you can do this either sending a single 
file source action, or a zip action.
 
 If you send a single file, you have to provide your own implementation adding 
a function `func main()` in the `main` package.
 
diff --git a/docs/BUILD.md b/docs/BUILD.md
index a97e4ce..cc98da7 100644
--- a/docs/BUILD.md
+++ b/docs/BUILD.md
@@ -48,7 +48,7 @@ This will build the images:
 * `action-golang-v1.15`: an image supporting Go 1.15 sources (does expect an 
ack)
 * `actionloop-base`: the base image, supporting generic executables ans shell 
script (does not expect an ack)
 
-The `actionloop-base` image can be used for supporting other compiled 
programming languages as long as they implement a `compile` script and the 
*action loop* protocol described below. Please check [this 
documens](ENVVARS.md) for configuration options
+The `actionloop-base` image can be used for supporting other compiled 
programming languages as long as they implement a `compile` script and the 
*action loop* protocol described below. Please check [ENVVARS.md](ENVVARS.md) 
for configuration options
 
 To run tests:
 
diff --git a/docs/DEPLOY.md b/docs/DEPLOY.md
index c37f019..ac6f40a 100644
--- a/docs/DEPLOY.md
+++ b/docs/DEPLOY.md
@@ -40,9 +40,9 @@ If the file is a zipped file, it must contain in the top 
level (*not* in a subdi
 
 ## Golang runtime
 
-The runtime `action-golang-v1.15` (and past everions) accepts:
+The runtime `action-golang-v1.15` (and past versions) accepts:
 
-- executable binaries implementing the ActionLoop protocol as Linux ELF 
executable compiled for the AMD64 architecture (as the `actionloop-base` runtme)
+- executable binaries implementing the ActionLoop protocol as Linux ELF 
executable compiled for the AMD64 architecture (as the `actionloop-base` 
runtime)
 - zip files containing a binary executable named `exec` in the top level, and 
it must be again a Linux ELF executable compiled for the AMD64 architecture
 - a single file action that is not an executable binary will be interpreted as 
source code and it will be compiled in a binary as described in the document 
about [actions](ACTION.md)
 - a zip file not containing in the top level a binary file `exec` will  be 
interpreted as a collection of zip files, and it will be compiled in a binary 
as described in the document about [actions](ACTION.md)
diff --git a/examples/Makefile b/examples/Makefile
index 8f7cdfa..cde98ef 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -50,7 +50,7 @@ package-main:
 
 .PHONY: module-main
 module-main:
-       # this exceeds 3 seconds for initializiation
+       # this exceeds 3 seconds for initialization
        #cd $@ && OW_USER=$(OW_USER) make clean devel test
        cd $@ && OW_USER=$(OW_USER) make clean deploy test
 
diff --git a/examples/package-main/main.go b/examples/package-main/main.go
index 26dc66f..a47aa70 100644
--- a/examples/package-main/main.go
+++ b/examples/package-main/main.go
@@ -22,7 +22,7 @@ import (
        "hello"
 )
 
-// Main forwading to Hello
+// Main forwarding to Hello
 func Main(args map[string]interface{}) map[string]interface{} {
        fmt.Println("Main")
        return hello.Hello(args)
diff --git a/golang1.13/lib/launcher.go b/golang1.13/lib/launcher.go
index f0d27e3..3f95c15 100644
--- a/golang1.13/lib/launcher.go
+++ b/golang1.13/lib/launcher.go
@@ -32,7 +32,7 @@ import (
 var OwExecutionEnv = ""
 
 func main() {
-       // check if the execution enviroment is correct
+       // check if the execution environment is correct
        if OwExecutionEnv != "" && OwExecutionEnv != 
os.Getenv("__OW_EXECUTION_ENV") {
                fmt.Println("Execution Environment Mismatch")
                fmt.Println("Expected: ", OwExecutionEnv)
diff --git a/golang1.15/lib/launcher.go b/golang1.15/lib/launcher.go
index f0d27e3..3f95c15 100644
--- a/golang1.15/lib/launcher.go
+++ b/golang1.15/lib/launcher.go
@@ -32,7 +32,7 @@ import (
 var OwExecutionEnv = ""
 
 func main() {
-       // check if the execution enviroment is correct
+       // check if the execution environment is correct
        if OwExecutionEnv != "" && OwExecutionEnv != 
os.Getenv("__OW_EXECUTION_ENV") {
                fmt.Println("Execution Environment Mismatch")
                fmt.Println("Expected: ", OwExecutionEnv)
diff --git a/openwhisk/_test/action/main.go b/openwhisk/_test/action/main.go
index ecc0ff4..c42017f 100644
--- a/openwhisk/_test/action/main.go
+++ b/openwhisk/_test/action/main.go
@@ -22,7 +22,7 @@ import (
        "fmt"
 )
 
-// Main forwading to Hello
+// Main forwarding to Hello
 func Main(event json.RawMessage) (json.RawMessage, error) {
        fmt.Println("Main:")
        return Hello(event)
diff --git a/openwhisk/_test/hello2.src b/openwhisk/_test/hello2.src
index 26dc66f..a47aa70 100644
--- a/openwhisk/_test/hello2.src
+++ b/openwhisk/_test/hello2.src
@@ -22,7 +22,7 @@ import (
        "hello"
 )
 
-// Main forwading to Hello
+// Main forwarding to Hello
 func Main(args map[string]interface{}) map[string]interface{} {
        fmt.Println("Main")
        return hello.Hello(args)
diff --git a/openwhisk/_test/src/main.go b/openwhisk/_test/src/main.go
index 26dc66f..a47aa70 100644
--- a/openwhisk/_test/src/main.go
+++ b/openwhisk/_test/src/main.go
@@ -22,7 +22,7 @@ import (
        "hello"
 )
 
-// Main forwading to Hello
+// Main forwarding to Hello
 func Main(args map[string]interface{}) map[string]interface{} {
        fmt.Println("Main")
        return hello.Hello(args)
diff --git a/openwhisk/actionProxy.go b/openwhisk/actionProxy.go
index c70ec28..b91eb2a 100644
--- a/openwhisk/actionProxy.go
+++ b/openwhisk/actionProxy.go
@@ -107,7 +107,7 @@ func (ap *ActionProxy) SetEnv(env map[string]interface{}) {
 }
 
 // StartLatestAction tries to start
-// the more recently uplodaded
+// the more recently uploaded
 // action if valid, otherwise remove it
 // and fallback to the previous, if any
 func (ap *ActionProxy) StartLatestAction() error {
diff --git a/openwhisk/compiler_test.go b/openwhisk/compiler_test.go
index c2cc677..aa032f6 100644
--- a/openwhisk/compiler_test.go
+++ b/openwhisk/compiler_test.go
@@ -25,7 +25,7 @@ import (
 /**
 Notes to understand tests:
 - tests are run from the "openwhisk" folder, as the current directory
-- precompile.sh prepare a compilation enviroment:
+- precompile.sh prepare a compilation environment:
        _test/precompile.sh hello.src aaa main
   produces
         - _test/compile/src/aaa/src/main
diff --git a/openwhisk/debug.go b/openwhisk/debug.go
index 766aabf..c5c67b6 100644
--- a/openwhisk/debug.go
+++ b/openwhisk/debug.go
@@ -28,7 +28,7 @@ func Debug(format string, args ...interface{}) {
        }
 }
 
-// DebugLimit emits a debug message with a limit in lenght
+// DebugLimit emits a debug message with a limit in length
 func DebugLimit(msg string, in []byte, limit int) {
        if len(in) < limit {
                Debug("%s:%s", msg, in)
diff --git a/openwhisk/initHandler.go b/openwhisk/initHandler.go
index 1391c63..85aee49 100644
--- a/openwhisk/initHandler.go
+++ b/openwhisk/initHandler.go
@@ -52,7 +52,7 @@ func sendOK(w http.ResponseWriter) {
 
 func (ap *ActionProxy) initHandler(w http.ResponseWriter, r *http.Request) {
 
-       // you can do muliple initializations when debugging
+       // you can do multiple initializations when debugging
        if ap.initialized && !Debugging {
                msg := "Cannot initialize the action more than once."
                sendError(w, http.StatusForbidden, msg)
diff --git a/openwhisk/initHandler_test.go b/openwhisk/initHandler_test.go
index 89e9545..d176874 100644
--- a/openwhisk/initHandler_test.go
+++ b/openwhisk/initHandler_test.go
@@ -215,7 +215,7 @@ func Example_badinit_nocompiler() {
        //sys("ls", "_test/exec")
        doInit(ts, initBinary("_test/exec", ""))      // empty
        doInit(ts, initBinary("_test/hi", ""))        // say hi
-       doInit(ts, initBinary("_test/hello.src", "")) // source not excutable
+       doInit(ts, initBinary("_test/hello.src", "")) // source not executable
        doRun(ts, "")
        stopTestServer(ts, cur, log)
        // Output:

Reply via email to