fix reboot auto mount (#1007)
This commit is contained in:
parent
79db93ec02
commit
34b4e154a1
2 changed files with 6 additions and 3 deletions
|
@ -92,6 +92,9 @@ func InitNetworkMount() {
|
|||
}
|
||||
connection.Directories = strings.Join(directories, ",")
|
||||
service.MyService.Connections().UpdateConnection(&connection)
|
||||
service.MyService.Storage().CheckAndMountAll()
|
||||
}
|
||||
err := service.MyService.Storage().CheckAndMountAll()
|
||||
if err != nil {
|
||||
logger.Error("mount storage err", zap.Any("err", err))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue