openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrutkow...@apache.org
Subject [incubator-openwhisk-wskdeploy] branch master updated: Fix the error regarding the error message (#579)
Date Mon, 02 Oct 2017 14:54:55 GMT
This is an automated email from the ASF dual-hosted git repository.

mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new 52d7450  Fix the error regarding the error message (#579)
52d7450 is described below

commit 52d74503cc5a51a75c481578d9d98e734823bcb2
Author: Vincent <shou@us.ibm.com>
AuthorDate: Mon Oct 2 10:54:53 2017 -0400

    Fix the error regarding the error message (#579)
---
 utils/errorhandlers.go           | 2 +-
 wski18n/i18n_resources.go        | 4 ++--
 wski18n/resources/en_US.all.json | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/utils/errorhandlers.go b/utils/errorhandlers.go
index 5b7cbf4..0506ca4 100644
--- a/utils/errorhandlers.go
+++ b/utils/errorhandlers.go
@@ -49,7 +49,7 @@ func Check(e error) {
 
 func PrintOpenWhiskError(err error) {
 	outputStream := colorable.NewColorableStderr()
-	fmt.Fprintf(outputStream, "%s%s\n", color.RedString(wski18n.T("Error: ")), err.Error())
+	fmt.Fprintf(outputStream, "%s%s", color.RedString(wski18n.T("Error: ")), err.Error())
 }
 
 func PrintOpenWhiskOutput(output string) {
diff --git a/wski18n/i18n_resources.go b/wski18n/i18n_resources.go
index 63fef18..c810e27 100644
--- a/wski18n/i18n_resources.go
+++ b/wski18n/i18n_resources.go
@@ -114,7 +114,7 @@ func wski18nResourcesDe_deAllJson() (*asset, error) {
     return a, nil
 }
 
-var _wski18nResourcesEn_usAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x41\x6f\xdb\x3c\x12\xbd\xe7\x57\x0c\x72\xf1\x25\xd0\xb6\xdf\x62\x81\x45\x6f\x41\xdb\x6d\x83\xb6\x69\x90\x64\x5b\x14\xdd\x02\x61\xa4\x91\xc5\x9a\x22\x05\x92\x72\xe0\x0a\xfe\xef\x0b\x8a\x92\xed\x24\x14\x45\xc9\xb2\xdb\x05\x36\x27\xc7\xe6\xbc\xf7\x66\x48\x0e\x67\x24\x7e\x3f\x01\xa8\x4e\x00\x00\x4e\x69\x72\xfa\x0a\x4e\xdf\x23\x63\xe2\xf4\xcc\x7e\xa5\x25\xe1\x8a\x11\x4d\x05\x37\xbf\x9d\x73\x38\xbf\xba
[...]
+var _wski18nResourcesEn_usAllJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x41\x6f\xdb\x3c\x12\xbd\xe7\x57\x0c\x72\xf1\x25\xd0\xb6\x5d\x2c\xb0\xe8\x2d\x68\xbb\x6d\xd0\x36\x0d\x92\x6c\x8b\xa2\x5b\x20\x8c\x34\xb2\x58\x53\xa4\x40\x52\x0e\x5c\xc1\xff\x7d\x41\x51\xb2\x9d\x84\xa2\x28\x59\xf6\x76\x81\x2f\x27\xc7\xe6\xbc\xf7\x66\x48\x0e\x67\x24\xfe\x38\x01\xa8\x4e\x00\x00\x4e\x69\x72\xfa\x1a\x4e\x3f\x20\x63\xe2\xf4\xcc\x7e\xa5\x25\xe1\x8a\x11\x4d\x05\x37\xbf\x9d\x73\x38\xbf\xba
[...]
 
 func wski18nResourcesEn_usAllJsonBytes() ([]byte, error) {
     return bindataRead(
@@ -129,7 +129,7 @@ func wski18nResourcesEn_usAllJson() (*asset, error) {
         return nil, err
     }
 
-    info := bindataFileInfo{name: "wski18n/resources/en_US.all.json", size: 13255, mode:
os.FileMode(420), modTime: time.Unix(1506693936, 0)}
+    info := bindataFileInfo{name: "wski18n/resources/en_US.all.json", size: 13189, mode:
os.FileMode(420), modTime: time.Unix(1506953492, 0)}
     a := &asset{bytes: bytes, info: info}
     return a, nil
 }
diff --git a/wski18n/resources/en_US.all.json b/wski18n/resources/en_US.all.json
index c911a15..72b0ca7 100644
--- a/wski18n/resources/en_US.all.json
+++ b/wski18n/resources/en_US.all.json
@@ -32,8 +32,8 @@
     "translation": "Manifest file not found at path {{.projectPath}}.\n"
   },
   {
-    "id": "Missing {{.yaml}}/{{.yml}} file. Missing {{.yaml}}/{{.yml}} file. Manifest file
not found at path {{.projectPath}}.\n",
-    "translation": "Missing {{.yaml}}/{{.yml}} file. Missing {{.yaml}}/{{.yml}} file. Manifest
file not found at path {{.projectPath}}.\n"
+    "id": "Missing {{.yaml}}/{{.yml}} file. Manifest file not found at path {{.projectPath}}.\n",
+    "translation": "Missing {{.yaml}}/{{.yml}} file. Manifest file not found at path {{.projectPath}}.\n"
   },
   {
     "id": "Manifest file is not found at the path [{{.filePath}}].\n",

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message