From ef68f71d54298581d2e028365f9dfce93f9ec615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 21 Jul 2023 17:08:10 +0200 Subject: [PATCH] Manager: actually include manager name in version API call The API call `GetVersion` should return the Manager name, but it returned the hard-coded application name `"Flamenco"` instead. --- internal/manager/api_impl/meta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/manager/api_impl/meta.go b/internal/manager/api_impl/meta.go index 6201204a..f6f41043 100644 --- a/internal/manager/api_impl/meta.go +++ b/internal/manager/api_impl/meta.go @@ -25,7 +25,7 @@ func (f *Flamenco) GetVersion(e echo.Context) error { return e.JSON(http.StatusOK, api.FlamencoVersion{ Version: appinfo.ExtendedVersion(), Shortversion: appinfo.ApplicationVersion, - Name: appinfo.ApplicationName, + Name: f.config.Get().ManagerName, Git: appinfo.ApplicationGitHash, }) }