From ae80bba80551e8bcfecff4d173d051e73305d13c Mon Sep 17 00:00:00 2001 From: ipangpang <167595720+ipangpang@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:47:24 +0800 Subject: [PATCH] chore: fix malformed struct tag (#20142) Signed-off-by: ipangpang --- x/gov/client/cli/util.go | 2 +- x/upgrade/plan/info.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/gov/client/cli/util.go b/x/gov/client/cli/util.go index 562b26f593..166a4c7077 100644 --- a/x/gov/client/cli/util.go +++ b/x/gov/client/cli/util.go @@ -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. diff --git a/x/upgrade/plan/info.go b/x/upgrade/plan/info.go index 6f132032d9..8be5c273ea 100644 --- a/x/upgrade/plan/info.go +++ b/x/upgrade/plan/info.go @@ -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"` }