Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
Signed-off-by: David van der Spek <[email protected]>
  • Loading branch information
davidspek committed Jul 14, 2023
1 parent 99045d1 commit 277a0a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/observability/v1alpha1/prom_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ type RelabelConfig struct {
// A list of labels from which values are taken and concatenated
// with the configured separator in order.
// +kubebuilder:validation:Optional
SourceLabels []*LabelName `yaml:"source_labels,omitempty" json:"source_labels,omitempty"`
SourceLabels []LabelName `yaml:"source_labels,omitempty" json:"source_labels,omitempty"`
// Separator is the string between concatenated values from the source labels.
// +kubebuilder:validation:Optional
Separator *string `yaml:"separator,omitempty" json:"separator,omitempty"`
Expand Down
10 changes: 2 additions & 8 deletions api/observability/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 277a0a4

Please sign in to comment.