Skip to content

Commit

Permalink
fix(platform): change vaildate rep json (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu authored Aug 29, 2022
1 parent a77dbb8 commit 0662a39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/platform/provider/baremetal/validation/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ import (
)

type TKEValidateResult struct {
Name string `json:"name"`
Description string `json:"description"`
Checked bool `json:"checked"`
Passed bool `json:"passed"`
Name string `json:"Name"`
Description string `json:"Description"`
Checked bool `json:"Checked"`
Passed bool `json:"Passed"`
ErrorList field.ErrorList `json:"-"`
Detail string `json:"detail"`
Detail string `json:"Detail"`
}

func (r TKEValidateResult) ToFieldError() *field.Error {
Expand Down

0 comments on commit 0662a39

Please sign in to comment.