(ctx context.Context, data interface{}, resolver variable.Resolver)
| 521 | } |
| 522 | |
| 523 | func resolve(ctx context.Context, data interface{}, resolver variable.Resolver) (interface{}, error) { |
| 524 | _, ok := data.(string) |
| 525 | if !ok { |
| 526 | return data, nil |
| 527 | } |
| 528 | |
| 529 | // find and fill variables |
| 530 | return resolver.FillVariables(ctx, data, true) |
| 531 | } |
| 532 | |
| 533 | func (l *configLoader) applyProfiles(ctx context.Context, data map[string]interface{}, options *ConfigOptions, resolver variable.Resolver, log log.Logger) (map[string]interface{}, error) { |
| 534 | // Get profile |
no test coverage detected