Adding asynchronous methods
This commit is contained in:
parent
60a141fe25
commit
8c7c8dc1ec
2 changed files with 1 additions and 1 deletions
1
main.go
1
main.go
|
@ -84,7 +84,6 @@ func init() {
|
|||
///
|
||||
// service.MountLists = make(map[string]*mountlib.MountPoint)
|
||||
// configfile.Install()
|
||||
service.MyService.Storage().CheckAndMountAll()
|
||||
}
|
||||
|
||||
// @title casaOS API
|
||||
|
|
|
@ -92,5 +92,6 @@ func InitNetworkMount() {
|
|||
}
|
||||
connection.Directories = strings.Join(directories, ",")
|
||||
service.MyService.Connections().UpdateConnection(&connection)
|
||||
service.MyService.Storage().CheckAndMountAll()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue