You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sj...@apache.org on 2017/07/17 12:06:16 UTC
[09/18] brooklyn-client git commit: Rename method to private
Rename method to private
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/25704c5e
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/25704c5e
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/25704c5e
Branch: refs/heads/master
Commit: 25704c5e4e5e25abacf1b14962bce6b22536e54c
Parents: 2ec78dd
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Wed May 24 12:51:46 2017 +0100
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Tue Jul 4 11:06:00 2017 +0100
----------------------------------------------------------------------
cli/io/config.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/25704c5e/cli/io/config.go
----------------------------------------------------------------------
diff --git a/cli/io/config.go b/cli/io/config.go
index 372c59c..23312f8 100644
--- a/cli/io/config.go
+++ b/cli/io/config.go
@@ -55,7 +55,7 @@ func GetConfig() (config *Config) {
config.Map = make(map[string]interface{})
config.Write()
}
- config.Read()
+ config.read()
return
}
@@ -79,7 +79,7 @@ func (config *Config) Write() {
enc.Encode(config.Map)
}
-func (config *Config) Read() {
+func (config *Config) read() {
fileToRead, err := os.Open(config.FilePath)
if err != nil {
error_handler.ErrorExit(err)