mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
fix
This commit is contained in:
parent
2a40bcce85
commit
3fcbeb2020
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue