Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set request token entry within fetchACLTokenEntryAndEntity #5880

Merged
merged 2 commits into from Dec 3, 2018

Conversation

calvn
Copy link
Member

@calvn calvn commented Nov 30, 2018

Within fetchACLTokenEntryAndEntity, this change sets the request's token entry to the one returned by Lookup for the case where the token entry was not yet cached.

@calvn calvn added this to the 1.0 milestone Nov 30, 2018
@calvn calvn requested a review from jefferai November 30, 2018 18:59
@@ -1146,8 +1146,6 @@ func (c *Core) sealInitCommon(ctx context.Context, req *logical.Request) (retErr
return retErr
}

req.SetTokenEntry(te)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the only instance that I found where req.SetTokenEntry was called after a fetchACLTokenEntryAndEntity call.

@jefferai jefferai merged commit e9751fd into master Dec 3, 2018
@jefferai jefferai deleted the req-set-token branch December 3, 2018 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants