Skip to content

Commit

Permalink
fix: redundant use of Aiven name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrremann committed Feb 26, 2022
1 parent 39920e6 commit a24919d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root/aiven/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Config struct {
tidy *cobra.Command
}

func NewAivenConfig() *Config {
func NewConfig() *Config {
return &Config{
aiven: aivenCommand,
create: createCmd,
Expand Down
2 changes: 1 addition & 1 deletion cmd/root/root_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func Execute(version, commit, date, builtBy string) {

func init() {
cobra.OnInitialize(initConfig)
aivenConfig := aiven.NewAivenConfig()
aivenConfig := aiven.NewConfig()
aivenConfig.InitCmds(rootCmd)
deviceConfig := device.NewDeviceConfig()
deviceConfig.InitCmds(rootCmd)
Expand Down

0 comments on commit a24919d

Please sign in to comment.