fix
This commit is contained in:
1 parent
2a40bcce85
commit
3fcbeb2020
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ type config struct {
|
||||
path string
|
||||
}
|
||||
|
||||
func (c config) NodeConfStorePath() string {
|
||||
func (c config) GetNodeConfStorePath() string {
|
||||
return c.path
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user