diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 14:33:54 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 15:40:55 +0200 |
| commit | 3f0c2643b4caadd3a47201caa2c6acba2585241d (patch) | |
| tree | cd6af32500156184d74d28c1476d18f33dbdee33 /internal/discovery/manager.go | |
| parent | 15bef1fca407c21eed5d2c433051042c728468e6 (diff) | |
All: Move to log/slog
Diffstat (limited to 'internal/discovery/manager.go')
| -rw-r--r-- | internal/discovery/manager.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/discovery/manager.go b/internal/discovery/manager.go index 6a78486..134525b 100644 --- a/internal/discovery/manager.go +++ b/internal/discovery/manager.go @@ -2,9 +2,8 @@ package discovery import ( "context" + "log/slog" "sync" - - "codeberg.org/eduVPN/eduvpn-common/internal/log" ) // Manager is the discovery struct that is cached @@ -68,7 +67,7 @@ func (m *Manager) Startup(ctx context.Context, cb func()) { m.lock(false) discoCopy, err := m.disco.Copy() if err != nil { - log.Logger.Warningf("internal error, failed to clone discovery, %v", err) + slog.Warn("failed to clone discovery", "error", err) return } m.unlock(false) |
