Skip to content

Commit

Permalink
added loggign
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Facchetti committed Jul 26, 2023
1 parent 677db3a commit 0364806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/portal/portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (p *portal) setupRouter(kconfig *kubeconfig.Kubeconfig, prom *prometheus.Pr
// we get the env var from within the function because it is not meant to be configurable
disableOauthOption := os.Getenv("DISABLE_OAUTH")
if disableOauthOption == "true" || env.IsCI() || env.IsLocalDevelopmentMode() {
p.baseAccessLog.Error("running in int")
p.baseAccessLog.Errorf("running in int, disableoauth=%s", disableOauthOption)
p.aad, err = middleware.NewIntAAD(p.elevatedGroupIDs, p.audit)
} else {
p.log.Error("not running in int")
Expand Down

0 comments on commit 0364806

Please sign in to comment.