Manager: actually return the short version in the GetVersion operation
This commit is contained in:
parent
ffaaf78c8c
commit
2eae682b9a
@ -23,8 +23,9 @@ import (
|
|||||||
|
|
||||||
func (f *Flamenco) GetVersion(e echo.Context) error {
|
func (f *Flamenco) GetVersion(e echo.Context) error {
|
||||||
return e.JSON(http.StatusOK, api.FlamencoVersion{
|
return e.JSON(http.StatusOK, api.FlamencoVersion{
|
||||||
Version: appinfo.ExtendedVersion(),
|
Version: appinfo.ExtendedVersion(),
|
||||||
Name: appinfo.ApplicationName,
|
Shortversion: appinfo.ApplicationVersion,
|
||||||
|
Name: appinfo.ApplicationName,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user