Extract the app name

remotes/KirillovDenis/bugfix/681-fix_acl_parsing
Pavel Korotkov 2020-07-07 10:07:59 +03:00
parent d6a970af48
commit 2fee7d2577
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -1,5 +1,7 @@
package misc
const ApplicationName = "neofs-s3-gateway"
var (
Build = "now"
Version = "dev"