From 7045ffb469ea855bc6519a19337033deb382c2ba Mon Sep 17 00:00:00 2001 From: clawbot Date: Sat, 21 Feb 2026 00:55:24 -0800 Subject: [PATCH] fix: rename GetBuildDir param from appID to appName (closes #123) The parameter is always called with app.Name, not an ID. Rename to match actual usage and prevent confusion. --- internal/service/deploy/deploy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/service/deploy/deploy.go b/internal/service/deploy/deploy.go index 6764736..54a3333 100644 --- a/internal/service/deploy/deploy.go +++ b/internal/service/deploy/deploy.go @@ -251,8 +251,8 @@ func New(lc fx.Lifecycle, params ServiceParams) (*Service, error) { } // GetBuildDir returns the build directory path for an app. -func (svc *Service) GetBuildDir(appID string) string { - return filepath.Join(svc.config.DataDir, "builds", appID) +func (svc *Service) GetBuildDir(appName string) string { + return filepath.Join(svc.config.DataDir, "builds", appName) } // GetLogFilePath returns the path to the log file for a deployment.