mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-29 22:48:15 +02:00
add stop message
This commit is contained in:
parent
e21dc6fbc3
commit
8dfb74e18d
1 changed files with 3 additions and 1 deletions
|
@ -91,7 +91,9 @@ func (mgr *Manager) RunLeased(ctx context.Context) error {
|
||||||
defer userSyncer.Close()
|
defer userSyncer.Close()
|
||||||
return fmt.Errorf("user syncer error: %w", userSyncer.Run(ctx))
|
return fmt.Errorf("user syncer error: %w", userSyncer.Run(ctx))
|
||||||
})
|
})
|
||||||
return eg.Wait()
|
err := eg.Wait()
|
||||||
|
log.Ctx(ctx).Info().Err(err).Msg("identity manager stopped")
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
func (mgr *Manager) onDeleteAllSessions(ctx context.Context) {
|
func (mgr *Manager) onDeleteAllSessions(ctx context.Context) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue