Skip to content

Commit

Permalink
feat: remove third party registry domain hostname validate
Browse files Browse the repository at this point in the history
  • Loading branch information
QianChenglong committed Mar 19, 2020
1 parent 02d6580 commit 96fe3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tke-installer/app/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ type TKERegistry struct {
}

type ThirdPartyRegistry struct {
Domain string `json:"domain" validate:"hostname_rfc1123"`
Domain string `json:"domain" validate:"required"`
Namespace string `json:"namespace" validate:"required"`
Username string `json:"username" validate:"required"`
Password []byte `json:"password" validate:"required"`
Expand Down

0 comments on commit 96fe3a4

Please sign in to comment.