diff --git a/cmd/neofs-ir/defaults.go b/cmd/neofs-ir/defaults.go index 98aef681..bd262593 100644 --- a/cmd/neofs-ir/defaults.go +++ b/cmd/neofs-ir/defaults.go @@ -4,17 +4,18 @@ import ( "strings" "time" - "github.com/nspcc-dev/neofs-node/misc" "github.com/spf13/viper" ) func newConfig(path string) (*viper.Viper, error) { + const innerRingPrefix = "neofs_ir" + var ( err error v = viper.New() ) - v.SetEnvPrefix(misc.InnerRingPrefix) + v.SetEnvPrefix(innerRingPrefix) v.AutomaticEnv() v.SetEnvKeyReplacer(strings.NewReplacer(".", "_")) diff --git a/misc/build.go b/misc/build.go index 16a4bc98..198c4a43 100644 --- a/misc/build.go +++ b/misc/build.go @@ -1,13 +1,5 @@ package misc -const ( - // Prefix is a neofs node application prefix. - Prefix = "neofs" - - // InnerRingPrefix is an inner ring application prefix. - InnerRingPrefix = "neofs_ir" -) - // These variables are changed in compile time. var ( // Build is an application build time.