Interpret backend and profile settings without changing source values

This commit is contained in:
2026-11-02 12:45:53 +00:00
parent cb83b8aca6
commit eaca50763b
5 changed files with 157 additions and 74 deletions

View File

@@ -12,8 +12,8 @@ import (
)
func (state *loaded) buildExecutionProfiles() error {
backendConfigs := indexedBackends(&state.result.Config)
profileConfigs := indexedProfiles(&state.result.Config)
backendConfigs := indexedBackends(&state.interpreted)
profileConfigs := indexedProfiles(&state.interpreted)
definitions := make(map[string]domain.Backend, len(backendConfigs))
for _, id := range sortedKeys(backendConfigs) {
config := backendConfigs[id]