Skip to content

Commit

Permalink
fix malformed struct tag
Browse files Browse the repository at this point in the history
Signed-off-by: ipangpang <arronipangpang@gmail.com>
  • Loading branch information
ipangpang committed Apr 23, 2024
1 parent a19a98b commit 4a92947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/gov/client/cli/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ type proposal struct {
Summary string `json:"summary"`
ProposalTypeStr string `json:"proposal_type,omitempty"`

proposalType govv1.ProposalType `json:"-"`
proposalType govv1.ProposalType
}

// parseSubmitProposal reads and parses the proposal.
Expand Down
2 changes: 1 addition & 1 deletion x/upgrade/plan/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

// Info is the special structure that the Plan.Info string can be (as json).
type Info struct {
parseConfig ParseConfig `json:"-"`
parseConfig ParseConfig

Binaries BinaryDownloadURLMap `json:"binaries"`
}
Expand Down

0 comments on commit 4a92947

Please sign in to comment.