loadRegistryConfiguration returns a registryConfiguration appropriate for sys.
(sys *types.SystemContext)
| 78 | |
| 79 | // loadRegistryConfiguration returns a registryConfiguration appropriate for sys. |
| 80 | func loadRegistryConfiguration(sys *types.SystemContext) (*registryConfiguration, error) { |
| 81 | dirPath := registriesDirPath(sys) |
| 82 | logrus.Debugf(`Using registries.d directory %s`, dirPath) |
| 83 | return loadAndMergeConfig(dirPath) |
| 84 | } |
| 85 | |
| 86 | // registriesDirPath returns a path to registries.d |
| 87 | func registriesDirPath(sys *types.SystemContext) string { |
no test coverage detected
searching dependent graphs…