From bdb7e7a9049892104f3e6a91ba2580f27be9de4f Mon Sep 17 00:00:00 2001 From: Alan Xu Date: Mon, 29 Jul 2024 15:43:14 +0800 Subject: [PATCH] docs(log_store.go): fix typo fix typo --- core/logs/alils/log_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/logs/alils/log_store.go b/core/logs/alils/log_store.go index 4a6823ab..e699b832 100755 --- a/core/logs/alils/log_store.go +++ b/core/logs/alils/log_store.go @@ -79,7 +79,7 @@ func (s *LogStore) PutLogs(lg *LogGroup) (err error) { return } - // Compresse body with lz4 + // Compress body with lz4 out := make([]byte, lz4.CompressBound(body)) n, err := lz4.Compress(body, out) if err != nil { @@ -239,7 +239,7 @@ func (s *LogStore) GetLogsBytes(shardID int, cursor string, return } -// LogsBytesDecode decodes logs binary data retruned by GetLogsBytes API +// LogsBytesDecode decodes logs binary data returned by GetLogsBytes API func LogsBytesDecode(data []byte) (gl *LogGroupList, err error) { gl = &LogGroupList{} err = proto.Unmarshal(data, gl)