From a808f0c6a8c575d1b1538399f030495b5c3db20e Mon Sep 17 00:00:00 2001 From: clawbot Date: Fri, 20 Feb 2026 02:50:32 -0800 Subject: [PATCH] fix: resolve revive unused-parameter issues in export_test Rename unused ctx and imageID parameters to _ in CleanupCancelledDeploy test export function. --- internal/service/deploy/export_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/service/deploy/export_test.go b/internal/service/deploy/export_test.go index a5aa241..bd90daa 100644 --- a/internal/service/deploy/export_test.go +++ b/internal/service/deploy/export_test.go @@ -52,10 +52,10 @@ func NewTestServiceWithConfig(log *slog.Logger, cfg *config.Config, dockerClient // cleanupCancelledDeploy for testing. It removes build directories matching // the deployment ID prefix. func (svc *Service) CleanupCancelledDeploy( - ctx context.Context, + _ context.Context, appName string, deploymentID int64, - imageID string, + _ string, ) { // We can't create real models.App/Deployment in tests easily, // so we test the build dir cleanup portion directly.