mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-02 07:57:45 +08:00
fix
This commit is contained in:
2
db/db.go
2
db/db.go
@@ -441,7 +441,7 @@ type Storage struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Storage) ToWebDavSetting() WebdavSetting {
|
func (s *Storage) ToWebDavSetting() WebdavSetting {
|
||||||
if s.Implementation != storage.ImplementationWebdav {
|
if s.Implementation != storage.ImplementationWebdav && s.Implementation != storage.ImplementationAlist{
|
||||||
panic("not webdav storage")
|
panic("not webdav storage")
|
||||||
}
|
}
|
||||||
var webdavSetting WebdavSetting
|
var webdavSetting WebdavSetting
|
||||||
|
|||||||
Reference in New Issue
Block a user