Skip to content

Commit

Permalink
Remove unused type
Browse files Browse the repository at this point in the history
Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller committed Jun 15, 2022
1 parent 23adb0f commit ff87eda
Show file tree
Hide file tree
Showing 9 changed files with 468 additions and 521 deletions.
2 changes: 0 additions & 2 deletions manifests/crds/rollout-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,6 @@ spec:
managedRoutes:
items:
properties:
canaryRoute:
type: boolean
name:
type: string
required:
Expand Down
2 changes: 0 additions & 2 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11772,8 +11772,6 @@ spec:
managedRoutes:
items:
properties:
canaryRoute:
type: boolean
name:
type: string
required:
Expand Down
2 changes: 0 additions & 2 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11772,8 +11772,6 @@ spec:
managedRoutes:
items:
properties:
canaryRoute:
type: boolean
name:
type: string
required:
Expand Down
3 changes: 0 additions & 3 deletions pkg/apiclient/rollout/rollout.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1004,9 +1004,6 @@
"properties": {
"name": {
"type": "string"
},
"canaryRoute": {
"type": "boolean"
}
}
},
Expand Down
961 changes: 465 additions & 496 deletions pkg/apis/rollouts/v1alpha1/generated.pb.go

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions pkg/apis/rollouts/v1alpha1/generated.proto

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

6 changes: 0 additions & 6 deletions pkg/apis/rollouts/v1alpha1/openapi_generated.go

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

5 changes: 3 additions & 2 deletions pkg/apis/rollouts/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,9 @@ type RolloutTrafficRouting struct {
}

type MangedRoutes struct {
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
CanaryRoute bool `json:"canaryRoute,omitempty" protobuf:"varint,2,opt,name=canaryRoute"`
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
//Possibly name for future use
//canaryRoute bool
}

// TraefikTrafficRouting defines the configuration required to use Traefik as traffic router
Expand Down
6 changes: 0 additions & 6 deletions ui/src/models/rollout/generated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -766,12 +766,6 @@ export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MangedRoute
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MangedRoutes
*/
name?: string;
/**
*
* @type {boolean}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MangedRoutes
*/
canaryRoute?: boolean;
}
/**
* MeasurementRetention defines the settings for retaining the number of measurements during the analysis.
Expand Down

0 comments on commit ff87eda

Please sign in to comment.