remove unused

This commit is contained in:
chrislu committed 2025-07-26 23:48:42 -07:00
1 parent 9cd3e613a5
commit 49338df3e2
7 files changed
+36 -574

No files matched your search

+2 -1
View File
@@ -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