chore: fix malformed struct tag (#20142)
Signed-off-by: ipangpang <arronipangpang@gmail.com>
This commit is contained in:
parent
127a9d21db
commit
ae80bba805
@ -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.
|
||||
|
||||
@ -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"`
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user