Skip to content

Commit 6de4512

Browse files
committed
doc: NewOpenKStatusAggregator method header typo
1 parent 3166168 commit 6de4512

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/patterns/addon/pkg/status/kstatus.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ type kstatusAggregator struct {
4343
//
4444
// e.g.
4545
// computMethods := make(map[string]GetConditionsFn)
46-
// conditionsMethods := make(map[string]AbnormalConditionsMethod)
46+
// abnormalConditionsMethods := make(map[string]AbnormalConditionsMethod)
4747
//
4848
// resourceGVK := schema.GroupVersionKind{...}
4949
// computMethods[resourceGVK.String()] = <user supplied gvk specific 'Compute' method>
50-
// conditionsMethods[resourceGVK.String()] = <user supplied gvk specific Abnormal Conditions method>
50+
// abnormalConditionsMethods[resourceGVK.String()] = <user supplied gvk specific Abnormal Conditions method>
5151
//
5252
// statusBuilder := &declarative.StatusBuilder {
5353
// BuildStatusImpl: status.NewOpenKStatusAggregator(computeMethods, abnormalConditionsMethods),

0 commit comments

Comments
 (0)