chore: formatting
This commit is contained in:
parent
af6421da88
commit
7c4154a459
6 changed files with 9 additions and 9 deletions
|
|
@ -12,8 +12,8 @@ import (
|
|||
)
|
||||
|
||||
type FileStorage struct {
|
||||
filename string
|
||||
lock sync.Mutex
|
||||
filename string
|
||||
lock sync.Mutex
|
||||
}
|
||||
|
||||
func NewFileStorage(filename string) *FileStorage {
|
||||
|
|
@ -31,7 +31,7 @@ func (fs *FileStorage) EnsureExists() {
|
|||
if _, err := os.Stat(fs.filename); os.IsNotExist(err) {
|
||||
fs.Save(&storedConfig{
|
||||
LastUpdate: time.Now().UnixMilli(),
|
||||
Nodes: make(map[string]types.Node),
|
||||
Nodes: make(map[string]types.Node),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue