()
| 123 | ) |
| 124 | |
| 125 | func getLocalConfigPath() string { |
| 126 | configFilePath := os.Getenv(configFilePathEnvironmentVariable) |
| 127 | if configFilePath == "" { |
| 128 | configFilePath = configFileDefaultPath |
| 129 | } |
| 130 | return configFilePath |
| 131 | } |
| 132 | |
| 133 | func LoadConfiguration(file string) Config { |
| 134 | //Loads a default config from adapter_config in case a custom adapter isn't provided by the client. |
no outgoing calls