mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
go fmt
This commit is contained in:
parent
a6be2520c9
commit
402315f117
|
@ -94,7 +94,7 @@ func recursivelyTraverseDirectory(filerClient filer_pb.FilerClient, dirPath util
|
||||||
if err := recursivelyTraverseDirectory(filerClient, subDir, visitEntry); err != nil {
|
if err := recursivelyTraverseDirectory(filerClient, subDir, visitEntry); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}else {
|
} else {
|
||||||
if !visitEntry(dirPath, entry) {
|
if !visitEntry(dirPath, entry) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,8 +83,8 @@ func (c *commandRemoteUncache) uncacheContentData(commandEnv *CommandEnv, writer
|
||||||
|
|
||||||
err := commandEnv.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {
|
err := commandEnv.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {
|
||||||
_, updateErr := client.UpdateEntry(context.Background(), &filer_pb.UpdateEntryRequest{
|
_, updateErr := client.UpdateEntry(context.Background(), &filer_pb.UpdateEntryRequest{
|
||||||
Directory: string(dir),
|
Directory: string(dir),
|
||||||
Entry: entry,
|
Entry: entry,
|
||||||
})
|
})
|
||||||
return updateErr
|
return updateErr
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue