This commit is contained in:
Sergey Cherepanov authored and Mikhail Iudin committed 2023-04-13 19:06:16 +02:00
1 parent 2a40bcce85
commit 3fcbeb2020
2 files changed
+3 -3

No files matched your search

+2 -2
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
}
+1 -1
View File
@@ -73,7 +73,7 @@ type config struct {
path string
}
func (c config) NodeConfStorePath() string {
func (c config) GetNodeConfStorePath() string {
return c.path
}