diff options
Diffstat (limited to 'weed/filer2/entry_codec.go')
| -rw-r--r-- | weed/filer2/entry_codec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer2/entry_codec.go b/weed/filer2/entry_codec.go index 7fafea3e3..8019b2193 100644 --- a/weed/filer2/entry_codec.go +++ b/weed/filer2/entry_codec.go @@ -4,9 +4,9 @@ import ( "os" "time" + "fmt" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/gogo/protobuf/proto" - "fmt" ) func (entry *Entry) EncodeAttributesAndChunks() ([]byte, error) { @@ -23,7 +23,7 @@ func (entry *Entry) EncodeAttributesAndChunks() ([]byte, error) { return proto.Marshal(message) } -func (entry *Entry) DecodeAttributesAndChunks(blob []byte) (error) { +func (entry *Entry) DecodeAttributesAndChunks(blob []byte) error { message := &filer_pb.Entry{} |
