chore: fix malformed struct tag (#20142)

Signed-off-by: ipangpang <arronipangpang@gmail.com>
This commit is contained in:
ipangpang 2024-04-24 17:47:24 +08:00 committed by GitHub
parent 127a9d21db
commit ae80bba805
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

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.

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"`
}