Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ccfos/nightingale
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Aug 13, 2024
2 parents 7c91e51 + a4867c4 commit 73f9548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion center/sso/init.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package sso

import (
"fmt"
"log"
"time"

Expand Down Expand Up @@ -145,7 +146,7 @@ func Init(center cconf.Center, ctx *ctx.Context, configCache *memsto.ConfigCache
}
}
if configCache == nil {
logger.Error("configCache is nil, sso initialization failed")
log.Fatalln(fmt.Errorf("configCache is nil, sso initialization failed"))
}
ssoClient.configCache = configCache
userVariableMap := configCache.Get()
Expand Down

0 comments on commit 73f9548

Please sign in to comment.