We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79db93e commit 34b4e15Copy full SHA for 34b4e15
main.go
@@ -82,8 +82,8 @@ func init() {
82
route.InitFunction()
83
84
///
85
- // service.MountLists = make(map[string]*mountlib.MountPoint)
86
- // configfile.Install()
+ //service.MountLists = make(map[string]*mountlib.MountPoint)
+ //configfile.Install()
87
}
88
89
// @title casaOS API
route/init.go
@@ -92,6 +92,9 @@ func InitNetworkMount() {
92
93
connection.Directories = strings.Join(directories, ",")
94
service.MyService.Connections().UpdateConnection(&connection)
95
- service.MyService.Storage().CheckAndMountAll()
+ }
96
+ err := service.MyService.Storage().CheckAndMountAll()
97
+ if err != nil {
98
+ logger.Error("mount storage err", zap.Any("err", err))
99
100
0 commit comments