Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Julian <[email protected]>
  • Loading branch information
jr0d and joejulian authored Apr 7, 2021
1 parent 3f26f0f commit 848b10e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ func main() {
if err != nil {
log.Fatalf("error getting kubernetes client: %v", err)
}
} else {
clientset = nil
}

var userInfoStore v1alpha1.UserInfoInterface
Expand Down
2 changes: 1 addition & 1 deletion internal/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ func (s *Server) authRedirect(logger *logrus.Entry, w http.ResponseWriter, r *ht
}

// clear existing claims session
_ = s.userinfo.Clear(r, w)
s.userinfo.Clear(r, w)

oauth2Config := oauth2.Config{
ClientID: config.ClientId,
Expand Down

0 comments on commit 848b10e

Please sign in to comment.