Skip to content

Commit e73a3bd

Browse files
committed
Log scale count & actual count
1 parent 9af8683 commit e73a3bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/deployment/reconcile/plan_builder.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ func createScalePlan(log zerolog.Logger, members api.MemberStatusList, group api
352352
plan = append(plan, api.NewAction(api.ActionTypeAddMember, group, ""))
353353
}
354354
log.Debug().
355+
Int("count", count).
356+
Int("actual-count", len(members)).
355357
Int("delta", toAdd).
356358
Str("role", group.AsRole()).
357359
Msg("Creating scale-up plan")
@@ -368,6 +370,8 @@ func createScalePlan(log zerolog.Logger, members api.MemberStatusList, group api
368370
api.NewAction(api.ActionTypeRemoveMember, group, m.ID),
369371
)
370372
log.Debug().
373+
Int("count", count).
374+
Int("actual-count", len(members)).
371375
Str("role", group.AsRole()).
372376
Msg("Creating scale-down plan")
373377
}

0 commit comments

Comments
 (0)