forked from TrueCloudLab/frostfs-s3-gw
Extract the app name
This commit is contained in:
parent
d6a970af48
commit
2fee7d2577
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package misc
|
||||
|
||||
const ApplicationName = "neofs-s3-gateway"
|
||||
|
||||
var (
|
||||
Build = "now"
|
||||
Version = "dev"
|
||||
|
|
Loading…
Reference in a new issue