Browse Source

go fmt

pull/1020/head
Chris Lu 6 years ago
parent
commit
862c2cb8e6
  1. 3
      weed/shell/command_fs_mv.go
  2. 1
      weed/topology/topology.go

3
weed/shell/command_fs_mv.go

@ -49,12 +49,10 @@ func (c *commandFsMv) Do(args []string, commandEnv *CommandEnv, writer io.Writer
ctx := context.Background()
sourceDir, sourceName := filer2.FullPath(sourcePath).DirAndName()
destinationDir, destinationName := filer2.FullPath(destinationPath).DirAndName()
return commandEnv.withFilerClient(ctx, filerServer, filerPort, func(client filer_pb.SeaweedFilerClient) error {
// collect destination entry info
@ -77,7 +75,6 @@ func (c *commandFsMv) Do(args []string, commandEnv *CommandEnv, writer io.Writer
targetName = destinationName
}
request := &filer_pb.AtomicRenameEntryRequest{
OldDirectory: sourceDir,
OldName: sourceName,

1
weed/topology/topology.go

@ -34,7 +34,6 @@ type Topology struct {
Configuration *Configuration
RaftServer raft.Server
}
func NewTopology(id string, seq sequence.Sequencer, volumeSizeLimit uint64, pulse int) *Topology {

Loading…
Cancel
Save