Browse Source

fmt

pull/1167/head
Chris Lu 5 years ago
parent
commit
dda5c6d3cb
  1. 5
      weed/shell/command_ec_encode.go

5
weed/shell/command_ec_encode.go

@ -8,13 +8,14 @@ import (
"sync" "sync"
"time" "time"
"google.golang.org/grpc"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/chrislusf/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/chrislusf/seaweedfs/weed/pb/master_pb"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
"github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/chrislusf/seaweedfs/weed/storage/needle"
"github.com/chrislusf/seaweedfs/weed/wdclient" "github.com/chrislusf/seaweedfs/weed/wdclient"
"google.golang.org/grpc"
) )
func init() { func init() {
@ -281,7 +282,7 @@ func collectVolumeIdsForEcEncode(ctx context.Context, commandEnv *CommandEnv, se
} }
}) })
for vid, _ := range vidMap {
for vid := range vidMap {
vids = append(vids, needle.VolumeId(vid)) vids = append(vids, needle.VolumeId(vid))
} }

Loading…
Cancel
Save