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

fix equality test for tokenRoleWrite exists #132

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

haweston
Copy link
Collaborator

Reverse existence check made save & test for Write ARNs always fail.

@@ -520,7 +520,7 @@ func (c *twinMakerClient) GetSessionToken(ctx context.Context, duration time.Dur
}

func (c *twinMakerClient) GetWriteSessionToken(ctx context.Context, duration time.Duration, workspaceId string) (*sts.Credentials, error) {
if c.tokenRoleWriter != "" {
if c.tokenRoleWriter == "" {
Copy link
Member

Choose a reason for hiding this comment

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

🤦 i must have not rebuilt the backend after that change

@haweston haweston merged commit f0e97b4 into 11172022_Release Nov 15, 2022
@toddtreece toddtreece deleted the writeTokenExistFix branch November 16, 2022 00:24
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

2 participants