From bf1132d808e6b469db746b929b6011e8e72dfa0b Mon Sep 17 00:00:00 2001 From: Alex Eulenberg Date: Tue, 10 Jan 2023 14:25:47 -0800 Subject: [PATCH] Reorder return values for SummarizeChanges in sync Swap "created" and "updated" to set values correctly. --- pkg/commands/rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/rules.go b/pkg/commands/rules.go index 85f346916..ff655628e 100644 --- a/pkg/commands/rules.go +++ b/pkg/commands/rules.go @@ -613,7 +613,7 @@ func (r *RuleCommand) executeChanges(ctx context.Context, changes []rules.Namesp } } - updated, created, deleted := rules.SummarizeChanges(changes) + created, updated, deleted := rules.SummarizeChanges(changes) fmt.Println() fmt.Printf("Sync Summary: %v Groups Created, %v Groups Updated, %v Groups Deleted\n", created, updated, deleted) return nil