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

Easily addressable PR feedback #99

Merged
merged 9 commits into from
Feb 15, 2020
Merged

Easily addressable PR feedback #99

merged 9 commits into from
Feb 15, 2020

Conversation

tyrannosaurus-becks
Copy link
Contributor

This PR incorporates the PR feedback I've given that is low-risk in addressing. The commit history cleanly describes the changes, it would be best to look one at a time.

cli.go Outdated

defer func() {
w.Write([]byte(response))
doneCh <- loginResp{secret, err}
doneCh <- loginResp{secret, nil}
Copy link
Contributor

Choose a reason for hiding this comment

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

The error that was here is the one that gets set on line 150.

path_oidc.go Outdated
if parts[i] == "v1" && parts[i+1] == "auth" {
return parts[i+2]
}
parts := strings.Split(redirectURI, "/v1/auth/")
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually...it doesn't work and I restore the old code and revised the test. We only want the immediate next element, not the rest of the path.

Copy link
Contributor

@kalafut kalafut left a comment

Choose a reason for hiding this comment

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

Pushed a couple tweaks but otherwise, all good!

@kalafut kalafut merged commit 8f02145 into form-post Feb 15, 2020
@kalafut kalafut deleted the form-post-pr-feedback branch February 15, 2020 01:53
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.

2 participants