Skip to content

Commit

Permalink
Set omitempty on Extensions when empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Jul 23, 2019
1 parent e62b37a commit 1ece9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type Log struct {
// upgraded, but a leader changeover during this process could lead to
// trouble, so gating extension behavior via some flag in the client
// program is also a good idea.
Extensions []byte
Extensions []byte `codec:omitempty`
}

// LogStore is used to provide an interface for storing
Expand Down

0 comments on commit 1ece9b4

Please # to comment.