Skip to content

Commit

Permalink
(choria-io#267) correctly pass request time to ruby shim
Browse files Browse the repository at this point in the history
The request time was incorrectly passed to the ruby shim resulting
in null timestamps in logs and failure in anything that needed the
real timestamp
  • Loading branch information
ripienaar committed Apr 25, 2018
1 parent 50dc714 commit 5ff440c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcorpc/ruby/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type ShimRequest struct {
CallerID string `json:"callerid"`
Collective string `json:"collective"`
TTL int `json:"ttl"`
Time int64 `json:"time"`
Time int64 `json:"msgtime"`
Body *ShimRequestBody `json:"body"`
}

Expand Down

0 comments on commit 5ff440c

Please sign in to comment.