Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit c169268

Browse files
author
Michelle Noorali
authored
Merge pull request #84 from jspdown/GH-83
Fix TrafficTarget v1alpha2 Spec type
2 parents 28318bd + c5499ff commit c169268

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

pkg/apis/access/v1alpha2/traffic_target.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type TrafficTarget struct {
2222
// +optional
2323
metav1.ObjectMeta `json:"metadata,omitempty"`
2424

25-
Spec []TrafficTargetSpec `json:"spec"`
25+
Spec TrafficTargetSpec `json:"spec"`
2626
}
2727

2828
// TrafficTargetSpec is the specification of a TrafficTarget

pkg/apis/access/v1alpha2/zz_generated.deepcopy.go

+1-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)