Skip to content

Commit 8c7c8dc

Browse files
committed
Adding asynchronous methods
1 parent 60a141f commit 8c7c8dc

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

main.go

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ func init() {
8484
///
8585
// service.MountLists = make(map[string]*mountlib.MountPoint)
8686
// configfile.Install()
87-
service.MyService.Storage().CheckAndMountAll()
8887
}
8988

9089
// @title casaOS API

route/init.go

+1
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,6 @@ func InitNetworkMount() {
9292
}
9393
connection.Directories = strings.Join(directories, ",")
9494
service.MyService.Connections().UpdateConnection(&connection)
95+
service.MyService.Storage().CheckAndMountAll()
9596
}
9697
}

0 commit comments

Comments
 (0)