Skip to content

Commit 74c20ba

Browse files
authored
We should use keyvalue instead of redis for validation plan summary (#249)
1 parent dff558f commit 74c20ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/blueprintvalidate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ func printValidationResultInteractive(filePath string, result *bptypes.ValidateB
168168
if result.Plan.Databases != nil && len(*result.Plan.Databases) > 0 {
169169
fmt.Printf(" %-14s %d\n", "Databases:", len(*result.Plan.Databases))
170170
}
171-
if result.Plan.Redis != nil && len(*result.Plan.Redis) > 0 {
172-
fmt.Printf(" %-14s %d\n", "Redis:", len(*result.Plan.Redis))
171+
if result.Plan.KeyValue != nil && len(*result.Plan.KeyValue) > 0 {
172+
fmt.Printf(" %-14s %d\n", "Key Value:", len(*result.Plan.KeyValue))
173173
}
174174
if result.Plan.EnvGroups != nil && len(*result.Plan.EnvGroups) > 0 {
175175
fmt.Printf(" %-14s %d\n", "Env Groups:", len(*result.Plan.EnvGroups))

pkg/client/blueprints/blueprints_gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)