This commit is contained in:
Sergey Cherepanov 2023-04-13 19:06:16 +02:00
parent 4d36015a31
commit cae5578cc5
No known key found for this signature in database
GPG Key ID: 87F8EDE8FBDF637C
2 changed files with 3 additions and 3 deletions

View File

@ -25,11 +25,11 @@ type nodeConfStore struct {
}
type configGetter interface {
NodeConfStorePath() string
GetNodeConfStorePath() string
}
func (n *nodeConfStore) Init(a *app.App) (err error) {
n.path = a.MustComponent("config").(configGetter).NodeConfStorePath()
n.path = a.MustComponent("config").(configGetter).GetNodeConfStorePath()
return
}

View File

@ -73,7 +73,7 @@ type config struct {
path string
}
func (c config) NodeConfStorePath() string {
func (c config) GetNodeConfStorePath() string {
return c.path
}