Skip to content

Commit

Permalink
change log level for `lock failed: endpoint is in the process of bein…
Browse files Browse the repository at this point in the history
…g removed`

Change the log level for `lock failed: endpoint is in the process of
being removed` from error to debug

Fixes: cilium#16422

Signed-off-by: Akshat Agarwal <akshat@accuknox.com>
  • Loading branch information
humancalico authored and aanm committed Jul 19, 2021
1 parent c021445 commit 678e098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/endpoint/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ func (e *Endpoint) unconditionalRLock() {

// logDisconnectedMutexAction gets the logger and logs given error with context
func (e *Endpoint) logDisconnectedMutexAction(err error, context string) {
e.getLogger().WithError(err).Error(context)
e.getLogger().WithError(err).Debug(context)
}

0 comments on commit 678e098

Please sign in to comment.