From a6ff48f7f0bd943f372d387c368b70654cc7fdb8 Mon Sep 17 00:00:00 2001 From: Cornelius Ludmann Date: Fri, 22 Dec 2023 15:15:50 +0000 Subject: [PATCH] ws-daemon linter error --- components/ws-daemon/pkg/internal/session/workspace.go | 1 - 1 file changed, 1 deletion(-) diff --git a/components/ws-daemon/pkg/internal/session/workspace.go b/components/ws-daemon/pkg/internal/session/workspace.go index afe4ec47ca301d..f34047385ad9dd 100644 --- a/components/ws-daemon/pkg/internal/session/workspace.go +++ b/components/ws-daemon/pkg/internal/session/workspace.go @@ -310,7 +310,6 @@ func (s *Workspace) UpdateGitStatus(ctx context.Context, persistentVolumeClaim b err = s.persist() if err != nil { log.WithError(err).WithFields(s.OWI()).Warn("cannot persist latest Git status") - err = nil } return s.LastGitStatus, nil