Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
Removing extra debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
regner committed Aug 24, 2017
1 parent f14dcac commit 9692889
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions client/decode.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package client

import (
"sort"

"github.com/mitchellh/mapstructure"
"github.com/regner/albiondata-client/log"
)
Expand All @@ -28,7 +26,6 @@ func decodeRequest(params map[string]interface{}) operation {
case 166:
operation := operationGetClusterMapInfo{}
mapstructure.Decode(params, &operation)
log.Debug("Location: ", params)

return operation
case 217:
Expand Down Expand Up @@ -72,15 +69,6 @@ func decodeResponse(params map[string]interface{}) operation {
case 166:
operation := operationGetClusterMapInfoResponse{}
mapstructure.Decode(params, &operation)
var keys []string
for k := range params {
keys = append(keys, k)
}
sort.Strings(keys)

for _, k := range keys {
log.Debug(k, ": ", params[k])
}

return operation
case 217:
Expand Down

0 comments on commit 9692889

Please sign in to comment.