Browse Source

go fmt

pull/1189/head
Chris Lu 5 years ago
parent
commit
0cc8347a3a
  1. 2
      weed/pb/volume_info.go
  2. 1
      weed/server/volume_grpc_erasure_coding.go
  3. 1
      weed/storage/volume_loading.go

2
weed/pb/volume_info.go

@ -12,10 +12,8 @@ import (
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
)
// MaybeLoadVolumeInfo load the file data as *volume_server_pb.VolumeInfo, the returned volumeInfo will not be nil
func MaybeLoadVolumeInfo(fileName string) (*volume_server_pb.VolumeInfo, bool) {

1
weed/server/volume_grpc_erasure_coding.go

@ -63,7 +63,6 @@ func (vs *VolumeServer) VolumeEcShardsGenerate(ctx context.Context, req *volume_
return nil, fmt.Errorf("WriteEcFiles %s: %v", baseFileName, err)
}
return &volume_server_pb.VolumeEcShardsGenerateResponse{}, nil
}

1
weed/storage/volume_loading.go

@ -143,4 +143,3 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
return err
}
Loading…
Cancel
Save