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

Commit

Permalink
Merge pull request #84 from jspdown/GH-83
Browse files Browse the repository at this point in the history
Fix TrafficTarget v1alpha2 Spec type
  • Loading branch information
Michelle Noorali authored Aug 3, 2020
2 parents 28318bd + c5499ff commit c169268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/access/v1alpha2/traffic_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type TrafficTarget struct {
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec []TrafficTargetSpec `json:"spec"`
Spec TrafficTargetSpec `json:"spec"`
}

// TrafficTargetSpec is the specification of a TrafficTarget
Expand Down
8 changes: 1 addition & 7 deletions pkg/apis/access/v1alpha2/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 c169268

Please sign in to comment.