Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Jun 11, 2018
1 parent 73a78d8 commit 4a5b9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/logical/consul/path_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (b *backend) pathTokenRead(ctx context.Context, req *logical.Request, d *fr
// Generate a name for the token
tokenName := fmt.Sprintf("Vault %s %s %d", role, req.DisplayName, time.Now().UnixNano())

writeOpts := &api.WriteOpts{}
writeOpts := &api.WriteOptions{}
writeOpts = writeOpts.WithContext(ctx)

// Create it
Expand Down

0 comments on commit 4a5b9c6

Please sign in to comment.