(configDict map[string]any)
| 141 | } |
| 142 | |
| 143 | func validateForbidden(configDict map[string]any) error { |
| 144 | servicesDict, ok := configDict["services"].(map[string]any) |
| 145 | if !ok { |
| 146 | return nil |
| 147 | } |
| 148 | forbidden := getProperties(servicesDict, types.ForbiddenProperties) |
| 149 | if len(forbidden) > 0 { |
| 150 | return &ForbiddenPropertiesError{Properties: forbidden} |
| 151 | } |
| 152 | return nil |
| 153 | } |
| 154 | |
| 155 | func loadSections(config map[string]any, configDetails types.ConfigDetails) (*types.Config, error) { |
| 156 | var err error |
no test coverage detected
searching dependent graphs…