mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
cmd/cli: fix staticcheck linting
This commit is contained in:
committed by
Cuong Manh Le
parent
e8d3ed1acd
commit
62a0ba8731
@@ -2500,7 +2500,7 @@ func checkDeactivationPin(s service.Service, stopCh chan struct{}) error {
|
||||
return nil // the server is running older version of ctrld
|
||||
}
|
||||
}
|
||||
mainLog.Load().Error().Msg(errInvalidDeactivationPin.Error())
|
||||
mainLog.Load().Error().Err(err).Msg(errInvalidDeactivationPin.Error())
|
||||
return errInvalidDeactivationPin
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user