Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
#95 adding field to see the length of the byte array received from re…
Browse files Browse the repository at this point in the history
…mote host
  • Loading branch information
asf-jenkins committed Feb 22, 2016
1 parent 541f34a commit f96eaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion henchman/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ func setTaskResult(taskResult *TaskResult, buf *bytes.Buffer) error {
//fmt.Printf("DEBUG: taskresult - %s - length - %d\n", resultStr, len(resultStr))
err := json.Unmarshal(resultInBytes, &taskResult)
if err != nil {
// Temp fix for current end of json input bug
return HenchErr(err, map[string]interface{}{
"len": len(resultInBytes),
"input": ":" + resultStr + ":",
}, "Task result json string")
}
Expand Down

0 comments on commit f96eaa3

Please sign in to comment.