mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-06 08:07:05 +00:00
fix issue 34
This commit is contained in:
+1
-2
@@ -146,9 +146,8 @@ func (s *Store) FreezeVolume(volumeIdString string) error {
|
||||
return fmt.Errorf("Volume %s is already read-only", volumeIdString)
|
||||
}
|
||||
return v.freeze()
|
||||
} else {
|
||||
return fmt.Errorf("volume id %s is not found during freeze!", vid)
|
||||
}
|
||||
return fmt.Errorf("volume id %s is not found during freeze!", vid)
|
||||
}
|
||||
func (l *DiskLocation) loadExistingVolumes() {
|
||||
if dirs, err := ioutil.ReadDir(l.directory); err == nil {
|
||||
|
||||
Reference in New Issue
Block a user