Skip to content

Commit

Permalink
Remove Redundant YAML Tags
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
  • Loading branch information
mahadzaryab1 committed Sep 12, 2024
1 parent 91136b2 commit 0c3ddcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cassandra/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ type Authenticator struct {

// BasicAuthenticator holds the username and password for a password authenticator for a Cassandra cluster.
type BasicAuthenticator struct {
Username string `yaml:"username" mapstructure:"username"`
Password string `yaml:"password" mapstructure:"password" json:"-"`
AllowedAuthenticators []string `yaml:"allowed_authenticators" mapstructure:"allowed_authenticators"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password" json:"-"`
AllowedAuthenticators []string `mapstructure:"allowed_authenticators"`
}

func DefaultConfiguration() Configuration {
Expand Down

0 comments on commit 0c3ddcb

Please sign in to comment.