aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/entry_codec.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-05-27 11:52:26 -0700
committerChris Lu <chris.lu@gmail.com>2018-05-27 11:52:26 -0700
commit458ada173ed6df2933c35fe0d3e3dd9457d3a975 (patch)
tree30f174c167b3299eedde32419ad1894f43cd544d /weed/filer2/entry_codec.go
parent8647191bee2027232105b20b5c110ffda225f9ba (diff)
downloadseaweedfs-458ada173ed6df2933c35fe0d3e3dd9457d3a975.tar.xz
seaweedfs-458ada173ed6df2933c35fe0d3e3dd9457d3a975.zip
go fmt
Diffstat (limited to 'weed/filer2/entry_codec.go')
-rw-r--r--weed/filer2/entry_codec.go4
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{}