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.
This commit is contained in:
2026-02-21 00:55:24 -08:00
committed by user
parent 074903619d
commit 46574f8cf1

View File

@@ -251,8 +251,8 @@ func New(lc fx.Lifecycle, params ServiceParams) (*Service, error) {
} }
// GetBuildDir returns the build directory path for an app. // GetBuildDir returns the build directory path for an app.
func (svc *Service) GetBuildDir(appID string) string { func (svc *Service) GetBuildDir(appName string) string {
return filepath.Join(svc.config.DataDir, "builds", appID) return filepath.Join(svc.config.DataDir, "builds", appName)
} }
// GetLogFilePath returns the path to the log file for a deployment. // GetLogFilePath returns the path to the log file for a deployment.