From c5c4bbfb6e733db710de32f7f777dc58f9b34891 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 4 Jan 2024 13:48:17 -0500 Subject: [PATCH] fix: missing return Encode --- metadata/file_reference.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metadata/file_reference.go b/metadata/file_reference.go index 8b16c09..603cfc6 100644 --- a/metadata/file_reference.go +++ b/metadata/file_reference.go @@ -57,7 +57,8 @@ func (fr *FileReference) EncodeMsgpack(enc *msgpack.Encoder) error { } data[8] = historyData } - return nil + + return enc.Encode(data) } func (fr *FileReference) DecodeMsgpack(dec *msgpack.Decoder) error { mapLen, err := dec.DecodeMapLen()