mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 07:19:18 +01:00
remove unused
This commit is contained in:
1 parent
9cd3e613a5
commit
49338df3e2
7 files changed
+36
-574
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package erasure_coding
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/seaweedfs/seaweedfs/weed/glog"
|
||||
@@ -65,7 +66,7 @@ func (logic *ErasureCodingUILogic) GetCurrentConfig() interface{} {
|
||||
func (logic *ErasureCodingUILogic) ApplyConfig(config interface{}) error {
|
||||
ecConfig, ok := config.(ErasureCodingConfig)
|
||||
if !ok {
|
||||
return nil // Will be handled by base provider fallback
|
||||
return fmt.Errorf("invalid configuration type for erasure coding")
|
||||
}
|
||||
|
||||
// Apply to detector
|
||||
|
||||
Reference in new issue
Block a user