feat: only show remote configs used in deployment

This commit is contained in:
3wc
2025-09-01 15:22:40 -04:00
parent 984bdd8792
commit 155df518dd
2 changed files with 37 additions and 7 deletions

View File

@ -211,16 +211,10 @@ checkout as-is. Recipe commit hashes are also supported as values for
secretInfo = append(secretInfo, fmt.Sprintf("%s: %s", secStat.LocalName, secStat.Version))
}
configFilters, err := app.Filters(false, false)
if err != nil {
log.Fatal(err)
}
configList, err := client.GetConfigs(cl, context.Background(), app.Server, configFilters)
configNames, err := client.GetConfigNamesForStack(cl, context.Background(), app.StackName())
if err != nil {
log.Fatal(err)
}
configNames := client.GetConfigNames(configList)
var configInfo []string
for _, config := range configNames {