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)