Skip to content

Commit

Permalink
enh: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-petersen committed Dec 9, 2022
1 parent 83890dc commit 6e5dfcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Garden struct {
Name string `yaml:"identity" json:"identity"`
// Alias is a unique identifier of this Garden that can be used as an alternate name to target this Garden
// +optional
Alias string `yaml:"alias,omitempty" json:"alias,omitempty"`
Alias string `yaml:"name,omitempty" json:"name,omitempty"`
// Kubeconfig holds the path for the kubeconfig of the garden cluster
Kubeconfig string `yaml:"kubeconfig" json:"kubeconfig"`
// Context overrides the current-context of the garden cluster kubeconfig
Expand Down Expand Up @@ -105,7 +105,7 @@ func LoadFromFile(filename string) (*Config, error) {
return config, nil
}

// validate checks the config for ambigous definitions and prints a warnings to the user.
// validate checks the config for ambigous definitions and prints warnings to the user
func (config *Config) validate() {
seen := make(map[string]bool, len(config.Gardens))

Expand Down

0 comments on commit 6e5dfcc

Please sign in to comment.