From 3a68d4a62bf7a60872ef8986ce4f4d9ea7fc26c1 Mon Sep 17 00:00:00 2001 From: rogermyang Date: Sat, 5 May 2018 12:43:13 -0700 Subject: [PATCH] remove debug msg --- client/config.go | 1 - client/remote.go | 1 - 2 files changed, 2 deletions(-) diff --git a/client/config.go b/client/config.go index da9f33d9..4d2312ad 100644 --- a/client/config.go +++ b/client/config.go @@ -76,7 +76,6 @@ func (config *Config) RemoveRemote(name string) bool { func (config *Config) SetProperty(name string, value string) bool { f := reflect.ValueOf(config).Elem().FieldByName(name) if f.IsValid() { - fmt.Println("valid config field") if f.CanSet() { if f.Kind() == reflect.String { f.SetString(value) diff --git a/client/remote.go b/client/remote.go index bbb929af..bb44a331 100644 --- a/client/remote.go +++ b/client/remote.go @@ -193,7 +193,6 @@ func (remote *RemoteVPS) getDaemonAPIToken(session SSHSession, daemonVersion str func (remote *RemoteVPS) SetRemoteProperty(name string, value string) bool { f := reflect.ValueOf(remote).Elem().FieldByName(name) if f.IsValid() { - fmt.Println("valid field") if f.Kind() == reflect.String { f.SetString(value) return true