Fix revive style issues (bd-56)
- Fix 14 unused-parameter warnings (rename to _) - Fix 2 redefines-builtin-id (max→maxCount, min→minInt) - Fix 3 indent-error-flow issues with gofmt - Merged duplicate bd-126 into bd-116
This commit is contained in:
@@ -140,7 +140,7 @@ func NewServer(socketPath string, store storage.Storage) *Server {
|
||||
}
|
||||
|
||||
// Start starts the RPC server and listens for connections
|
||||
func (s *Server) Start(ctx context.Context) error {
|
||||
func (s *Server) Start(_ context.Context) error {
|
||||
if err := s.ensureSocketDir(); err != nil {
|
||||
return fmt.Errorf("failed to ensure socket directory: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user