Skip to content

Commit

Permalink
chores: add missing rollout fields
Browse files Browse the repository at this point in the history
Signed-off-by: ashutosh16 <[email protected]>
  • Loading branch information
ashutosh16 committed Sep 29, 2023
1 parent 00e478d commit faff4b5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 deletions.
11 changes: 5 additions & 6 deletions pkg/apiclient/rollout/rollout.proto
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,11 @@ message NonJobInfo {
string metricName = 3;
k8s.io.apimachinery.pkg.apis.meta.v1.Time startedAt =4;
string message = 5;
string phase = 6;
int32 successful= 7;
int32 failed= 8;
int32 inconclusive= 9;
int32 error = 10;
int32 consecutiveError= 11;
int32 successful= 6;
int32 failed= 7;
int32 inconclusive= 8;
int32 error = 9;
int32 consecutiveError= 10;
}

message Metrics {
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 @@ -5418,9 +5418,6 @@
"message": {
"type": "string"
},
"phase": {
"type": "string"
},
"successful": {
"type": "integer",
"format": "int32"
Expand Down
1 change: 0 additions & 1 deletion pkg/kubectl-argo-rollouts/info/analysisrun_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ func getAnalysisRunInfo(ownerUID types.UID, allAnalysisRuns []*v1alpha1.Analysis
Inconclusive: mr.Inconclusive,
ConsecutiveError: mr.ConsecutiveError,
Message: mr.Message,
Phase: string(mr.Phase),
}
arInfo.NonJobInfo = append(arInfo.NonJobInfo, &nonJobInfo)
}
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 @@ -6603,12 +6603,6 @@ export interface RolloutNonJobInfo {
* @memberof RolloutNonJobInfo
*/
message?: string;
/**
*
* @type {string}
* @memberof RolloutNonJobInfo
*/
phase?: string;
/**
*
* @type {number}
Expand Down

0 comments on commit faff4b5

Please sign in to comment.