cmd/cli: fix staticcheck linting

This commit is contained in:
Cuong Manh Le authored and Cuong Manh Le committed 2024-08-08 01:25:22 +07:00
1 parent e8d3ed1acd
commit 62a0ba8731
1 file changed
+1 -1
+1 -1
View File
@@ -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
}