Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Kuromesi <[email protected]>
  • Loading branch information
Kuromesi committed Sep 11, 2023
1 parent 7259ecf commit ee7e556
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 3 additions & 3 deletions api/v1alpha1/trafficrouting_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ type TrafficRoutingList struct {
}

type CustomNetworkRef struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Name string `json:"name"`
APIVersion string `json:"apiVersion,omitempty"`
Kind string `json:"kind,omitempty"`
Name string `json:"name,omitempty"`
}

func init() {
Expand Down
4 changes: 0 additions & 4 deletions config/crd/bases/rollouts.kruise.io_rollouts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,6 @@ spec:
type: string
name:
type: string
required:
- apiVersion
- kind
- name
type: object
type: array
gateway:
Expand Down
4 changes: 0 additions & 4 deletions config/crd/bases/rollouts.kruise.io_trafficroutings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ spec:
type: string
name:
type: string
required:
- apiVersion
- kind
- name
type: object
type: array
gateway:
Expand Down

0 comments on commit ee7e556

Please sign in to comment.