Skip to content

Commit

Permalink
remove debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
rogermyang committed May 5, 2018
1 parent ce9a283 commit 3a68d4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion client/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a68d4a

Please sign in to comment.