mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 14:57:57 +08:00
go fmt
This commit is contained in:
@@ -65,7 +65,7 @@ func (nm *NeedleMap) Get(key NeedleId) (existingValue *needle_map.NeedleValue, o
|
||||
}
|
||||
func (nm *NeedleMap) Delete(key NeedleId) error {
|
||||
existingValue, ok := nm.m.Get(NeedleId(key))
|
||||
if !ok || existingValue.Size.IsDeleted(){
|
||||
if !ok || existingValue.Size.IsDeleted() {
|
||||
return nil
|
||||
}
|
||||
deletedBytes := nm.m.Delete(NeedleId(key))
|
||||
|
Reference in New Issue
Block a user