Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
rhinoman committed Feb 24, 2016
1 parent b3e2dbe commit 70df9ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion common/config/config_etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ func setConfigVal(str string, field reflect.Value) error {
t := field.Kind()
switch {
case t == reflect.String:
log.Printf("STR: %v\n", str)
field.SetString(str)
case t >= reflect.Int && t <= reflect.Int64:
if x, err := strconv.ParseInt(str, 10, 64); err != nil {
Expand Down
1 change: 0 additions & 1 deletion config/config_loader/config_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ func setConfigItems(configStruct interface{}, configLocation string) {
}

func setConfigEntry(key string, value string) error {
log.Printf("KEY: %v, VALUE: %v\n", key, value)
_, err := kapi.Set(context.Background(), key, value, nil)
return err
}
Expand Down

0 comments on commit 70df9ad

Please sign in to comment.