Skip to content

Commit

Permalink
Merge pull request #1318 from sebastiangaiser/main
Browse files Browse the repository at this point in the history
fix(crd-gen): use correct description for 'spec.indicator.bool_gauge.…
  • Loading branch information
metalmatze authored Dec 14, 2024
2 parents 56781bd + b0bf752 commit e991d23
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
successful.
properties:
grouping:
description: Total is the metric that returns how many requests there are in total.
description: Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.
items:
type: string
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
successful.
properties:
grouping:
description: Total is the metric that returns how many requests there are in total.
description: Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.
items:
type: string
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
successful.
properties:
grouping:
description: Total is the metric that returns how many requests there are in total.
description: Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.
items:
type: string
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"description": "BoolGauge is the indicator that measures whether a boolean gauge is\nsuccessful.",
"properties": {
"grouping": {
"description": "Total is the metric that returns how many requests there are in total.",
"description": "Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.",
"items": {
"type": "string"
},
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/api/v1alpha1/servicelevelobjective_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ type BoolGaugeIndicator struct {
Query `json:",inline"`

// +optional
// Total is the metric that returns how many requests there are in total.
// Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.
Grouping []string `json:"grouping"`
}

Expand Down

0 comments on commit e991d23

Please sign in to comment.