diff --git a/app-settings.go b/app-settings.go index 9bff9ddd3..ec5b17898 100644 --- a/app-settings.go +++ b/app-settings.go @@ -97,7 +97,7 @@ func newSettings() *viper.Viper { peers := flags.StringArrayP("peers", "p", nil, "NeoFS nodes") // set prefers: - v.Set("app.name", "neofs-gw") + v.Set("app.name", misc.ApplicationName) v.Set("app.version", misc.Version) v.Set("app.build_time", misc.Build) diff --git a/misc/build.go b/misc/build.go index 3d82ab96f..99da0c8c6 100644 --- a/misc/build.go +++ b/misc/build.go @@ -1,5 +1,7 @@ package misc +const ApplicationName = "neofs-s3-gateway" + var ( Build = "now" Version = "dev"