We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 016b8ef commit 0154038Copy full SHA for 0154038
cmd/laclm/main.go
@@ -302,7 +302,11 @@ func run(ctx context.Context) error {
302
303
usernames := sessionManager.GetAllUsernames()
304
for _, username := range usernames {
305
- sessionManager.ExpireSession(username)
+ if err := sessionManager.ExpireSession(username); err != nil {
306
+ zap.L().Warn("Failed to expire session during shutdown",
307
+ zap.String("username: ", username),
308
+ )
309
+ }
310
zap.L().Info("Session forced expired for: ",
311
zap.String("username", username),
312
)
0 commit comments