LoadConfigDir loads all the configurations in the given directory in alphabetical order.
(dir string)
| 946 | // LoadConfigDir loads all the configurations in the given directory |
| 947 | // in alphabetical order. |
| 948 | func LoadConfigDir(dir string) (*Config, error) { |
| 949 | cfg, _, err := LoadConfigDirCheckDuplicate(dir) |
| 950 | return cfg, err |
| 951 | } |
| 952 | |
| 953 | // LoadConfigDirCheckDuplicate is the same as the above but checks for duplciate HCL attributes |
| 954 | // TODO (HCL_DUP_KEYS_DEPRECATION): keep only LoadConfigDir once deprecation is complete |
no test coverage detected
searching dependent graphs…