Browse Source

go fmt

pull/2050/head
Chris Lu 4 years ago
parent
commit
55a8f57381
  1. 1
      weed/filer/stream.go
  2. 1
      weed/filesys/wfs.go

1
weed/filer/stream.go

@ -33,7 +33,6 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, w io.Writer, c
fileId2Url[chunkView.FileId] = urlStrings fileId2Url[chunkView.FileId] = urlStrings
} }
for _, chunkView := range chunkViews { for _, chunkView := range chunkViews {
urlStrings := fileId2Url[chunkView.FileId] urlStrings := fileId2Url[chunkView.FileId]

1
weed/filesys/wfs.go

@ -270,6 +270,7 @@ func (wfs *WFS) LookupFn() wdclient.LookupFileIdFunctionType {
} }
type NodeWithId uint64 type NodeWithId uint64
func (n NodeWithId) Id() uint64 { func (n NodeWithId) Id() uint64 {
return uint64(n) return uint64(n)
} }

Loading…
Cancel
Save