Skip to content

Commit

Permalink
Adding asynchronous methods
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong committed Mar 24, 2023
1 parent 60a141f commit 8c7c8dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ func init() {
///
// service.MountLists = make(map[string]*mountlib.MountPoint)
// configfile.Install()
service.MyService.Storage().CheckAndMountAll()
}

// @title casaOS API
Expand Down
1 change: 1 addition & 0 deletions route/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,6 @@ func InitNetworkMount() {
}
connection.Directories = strings.Join(directories, ",")
service.MyService.Connections().UpdateConnection(&connection)
service.MyService.Storage().CheckAndMountAll()
}
}

0 comments on commit 8c7c8dc

Please sign in to comment.