Skip to content

Commit

Permalink
Merge pull request #2051 from hashicorp/b-vault-alloc
Browse files Browse the repository at this point in the history
Disallow stale queries when deriving Vault tokens
  • Loading branch information
dadgar authored Dec 1, 2016
2 parents 288c329 + 4287706 commit 27e89a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,7 @@ func (c *Client) deriveToken(alloc *structs.Allocation, taskNames []string, vcli
Tasks: verifiedTasks,
QueryOptions: structs.QueryOptions{
Region: c.Region(),
AllowStale: true,
AllowStale: false,
},
}

Expand Down

0 comments on commit 27e89a8

Please sign in to comment.