Skip to content

Commit

Permalink
fix #12592
Browse files Browse the repository at this point in the history
  • Loading branch information
chavacava authored Apr 17, 2022
1 parent c86642b commit a099660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func (q QueryOptions) TimeToBlock() time.Duration {
return q.MaxQueryTime
}

func (q QueryOptions) SetTimeToBlock(t time.Duration) {
func (q *QueryOptions) SetTimeToBlock(t time.Duration) {
q.MaxQueryTime = t
}

Expand Down

0 comments on commit a099660

Please sign in to comment.