Skip to content

Commit

Permalink
fix ApisixConsumerBasicAuthValue password-yaml field error (#960)
Browse files Browse the repository at this point in the history
Co-authored-by: rongxin <rongxin@api7.ai>
  • Loading branch information
AlinsRan and AlinsRan committed Apr 13, 2022
1 parent 0790458 commit aee6e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kube/apisix/apis/config/v2beta3/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ type ApisixConsumerBasicAuth struct {
// ApisixConsumerBasicAuthValue defines the in-place username and password configuration for basic auth.
type ApisixConsumerBasicAuthValue struct {
Username string `json:"username" yaml:"username"`
Password string `json:"password" yaml:"username"`
Password string `json:"password" yaml:"password"`
}

// ApisixConsumerKeyAuth defines the configuration for the key auth.
Expand Down

0 comments on commit aee6e78

Please sign in to comment.