Skip to content

Commit

Permalink
Merge pull request #12711 from hashicorp/backport/patch-1/ghastly-cur…
Browse files Browse the repository at this point in the history
…rent-sole

This pull request was automerged via backport-assistant
  • Loading branch information
hc-github-team-nomad-core committed Apr 20, 2022
2 parents cc0cd4d + ec24c83 commit 8379350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/12593.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where clients that retry blocking queries would not reset the correct blocking duration
```
2 changes: 1 addition & 1 deletion nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,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 8379350

Please sign in to comment.