mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-22 16:24:05 +01:00
fix (plugin): enable plugin extensions/override
This commit is contained in:
parent
c1940edeba
commit
fe7ad8f1ad
1 changed files with 0 additions and 3 deletions
|
|
@ -22,9 +22,6 @@ func (d *Driver) Register(name string, driver IBackend) {
|
|||
if driver == nil {
|
||||
panic("backend: register invalid nil backend")
|
||||
}
|
||||
if d.ds[name] != nil {
|
||||
panic("backend: register already exist")
|
||||
}
|
||||
d.ds[name] = driver
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue