-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix spelling #1127
chore: fix spelling #1127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would love to merge this, but the go-binadata tool needs to be run against the translated string changes in the files following these instructions: https://github.com/apache/openwhisk-wskdeploy/blob/master/wski18n/README.md
@@ -95,7 +95,7 @@ func testLoadAndBindDeploymentYAML(t *testing.T, path string, triggerName string | |||
dReader := NewDeploymentReader(sDeployer) | |||
err := dReader.HandleYaml() | |||
|
|||
// DEBUG() Uncomment to display initial DeploymentDescriptor (manifest, deployemnt befopre binding) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always type this wrong ;) Thx
|
||
When you want to return an error, you need to provide the same structure wrapped into an `error` object. If you don't wrap it into an `error` object, it will still work from an HTTP prespective but OpenWhisk will not recognise it as an error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another typo common to me...
@@ -31,8 +31,8 @@ import ( | |||
const PATH_WILDCARD = "*" | |||
const ONE_DIR_UP = "../" | |||
|
|||
func NewZipWritter(src string, des string, include [][]string, exclude []string, manifestFilePath string) *ZipWritter { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has long bothered me; thanks for fixing and cascading
@@ -21,7 +21,7 @@ | |||
}, | |||
{ | |||
"id": "msg_cmd_desc_long_root", | |||
"translation": "The OpenWhisk Deployment Tool\n\nTo begin working with wskdeploy, run the 'wskdeploy' command:\n\n\t$ wskdeploy\n\nThis will deploy OpenWhisk assets specified in manifest.yaml or manifest.yml\nIf current directory doesnt have any manifest file, wskdeploy prints this help message.\n\nThe most common ways of using wskdeploy to deploy and/or undeploy OpenWhisk assets are:\n\n$ wskdeploy\n$ wskdeploy -m path/to/manifest.yaml\n$ wskdeploy -m path/to/manifest.yaml -d path/to/deployment.yaml\n$ wskdeploy undeploy\n$ wskdeploy undeploy -m path/to/manifest.yaml\n$ wskdeploy undeploy -m path/to/manifest.yaml -d path/to/deployment.yaml\n\nAunthentication:\nwskdeploy reads credentials from $HOME/.wskprops by default\nOverwrite default config file on CLI:\n $ wskdeploy --config <config file> -m path/to/manifest.yaml\nOr specify all three on CLI:\n $ wskdeploy --apihost HOST --auth KEY --namespace NAMESPACE -m path/to/manifest.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes need to be "built" using the go-bindata tool to render them as ascii-encoded data using the following instructions: https://github.com/apache/openwhisk-wskdeploy/blob/master/wski18n/README.md
@jbampton Thanks for such a comprehensive cleanup of all our code/docs! If you could run the go-bindata tool as ref. in the review (https://github.com/apache/openwhisk-wskdeploy/blob/master/wski18n/README.md) and commit the resultant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the i18n_resources.go file by generating a new one with the spelling fixes...
No description provided.