Skip to content

Commit

Permalink
NewBaseConfig to DefaultBaseConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sambukowski committed Aug 6, 2024
1 parent a0b67a8 commit 163fdc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/cli/cmd/devrunner/config/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
// config toml file.
type BaseConfig map[string]string

// NewBaseConfig returns a BaseConfig with default values.
func NewBaseConfig(instanceName string) BaseConfig {
// DefaultBaseConfig returns a BaseConfig with default values.
func DefaultBaseConfig(instanceName string) BaseConfig {
homeDir := cmd.GetUserHomeDirOrPanic()
return map[string]string{
// conductor
Expand Down Expand Up @@ -95,7 +95,7 @@ func CreateBaseConfig(path, instance string) {
return
}
// create an instance of the Config struct with some data
config := NewBaseConfig(instance)
config := DefaultBaseConfig(instance)

// open a file for writing
file, err := os.Create(path)
Expand Down

0 comments on commit 163fdc4

Please sign in to comment.