Skip to content

Commit

Permalink
Fix output error at beginning of analysis.txt file when executing t…
Browse files Browse the repository at this point in the history
…he `look` cmd
  • Loading branch information
SimFG committed Aug 23, 2022
1 parent 8d8f340 commit a924ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/look_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func appendBuffer(resp *clientv3.GetResponse, datac <-chan []*mvccpb.KeyValue, w
f.Seek(0, 0)
}
var buffer bytes.Buffer
buffer.WriteString("\nCurrent Stage\n")
buffer.WriteString("Current Stage\n")
buffer.WriteString(fmt.Sprintf(" %s", resp.Header.String()))
buffer.WriteString("\nKv List\n")
buffer.WriteString("| Key | Value | Size | CreateRevision | ModRevision | Version | Lease |\n")
Expand Down

0 comments on commit a924ef7

Please # to comment.