You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by be...@apache.org on 2017/07/18 17:50:21 UTC

[incubator-openwhisk] branch master updated: Externalize SetDefaultProperties (#2499)

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 84c0265  Externalize SetDefaultProperties (#2499)
84c0265 is described below

commit 84c02650151f0171fda9ab0ae88f216f3cf7f8ad
Author: Mark Deuser <md...@us.ibm.com>
AuthorDate: Tue Jul 18 13:50:19 2017 -0400

    Externalize SetDefaultProperties (#2499)
---
 tools/cli/go-whisk-cli/commands/property.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/cli/go-whisk-cli/commands/property.go b/tools/cli/go-whisk-cli/commands/property.go
index 4ddc796..7078cf6 100644
--- a/tools/cli/go-whisk-cli/commands/property.go
+++ b/tools/cli/go-whisk-cli/commands/property.go
@@ -338,7 +338,7 @@ func init() {
 
 }
 
-func setDefaultProperties() {
+func SetDefaultProperties() {
     Properties.Auth = DefaultAuth
     Properties.Namespace = DefaultNamespace
     Properties.APIHost = DefaultAPIHost
@@ -379,7 +379,7 @@ func GetPropertiesFilePath() (propsFilePath string, werr error) {
 func loadProperties() error {
     var err error
 
-    setDefaultProperties()
+    SetDefaultProperties()
 
     Properties.PropsFile, err = GetPropertiesFilePath()
     if err != nil {

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