Merge pull request #2051 from hashicorp/b-vault-alloc

Disallow stale queries when deriving Vault tokens
This commit is contained in:
Alex Dadgar 2016-12-01 11:14:50 -08:00 committed by GitHub
commit 43ac1c5037
1 changed files with 1 additions and 1 deletions

View File

@ -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,
},
}