Skip to content

Commit

Permalink
Rename to Path
Browse files Browse the repository at this point in the history
  • Loading branch information
anuptalwalkar committed Nov 2, 2016
1 parent c27b579 commit 43648ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func getConfigFiles() []string {

func getResolver() FileResolver {
paths := []string{}
configDir := GetConfigurationPath()
configDir := Path()
if configDir != "" {
paths = []string{configDir}
}
Expand Down Expand Up @@ -96,8 +96,8 @@ func GetEnvironment() string {
return env
}

// GetConfigurationPath returns path to the yaml configurations
func GetConfigurationPath() string {
// Path returns path to the yaml configurations
func Path() string {
configPath := os.Getenv(GetEnvironmentPrefix() + configdir)
if configPath == "" {
configPath = config
Expand Down

0 comments on commit 43648ef

Please sign in to comment.