chore: fix malformed struct tag (#20142)

Signed-off-by: ipangpang <arronipangpang@gmail.com>
This commit is contained in:
ipangpang
2024-04-24 09:47:24 +00:00
committed by GitHub
parent 127a9d21db
commit ae80bba805
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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"`
}