1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00
This commit is contained in:
Sergey Cherepanov 2023-04-13 19:06:16 +02:00 committed by Mikhail Iudin
parent 2a40bcce85
commit 3fcbeb2020
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
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
}