From 95b87f773af06149ac347a4d1057f40a330e49ea Mon Sep 17 00:00:00 2001 From: Richard87 Date: Fri, 22 Nov 2024 09:43:03 +0100 Subject: [PATCH] remove unused example comment --- models/v1/job_status.go | 8 -------- models/v2/batch_status.go | 10 ---------- 2 files changed, 18 deletions(-) diff --git a/models/v1/job_status.go b/models/v1/job_status.go index cffdf0a..7203570 100644 --- a/models/v1/job_status.go +++ b/models/v1/job_status.go @@ -32,21 +32,18 @@ type JobStatus struct { // // required: true // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Created time.Time `json:"created"` // Started timestamp // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Started *time.Time `json:"started"` // Ended timestamp // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Ended *time.Time `json:"ended"` // Status of the job @@ -74,7 +71,6 @@ type JobStatus struct { // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Updated *time.Time `json:"updated"` // The number of times the container for the job has failed. @@ -107,28 +103,24 @@ type PodStatus struct { // // required: true // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Created time.Time `json:"created,omitempty"` // The time at which the batch job's pod startedAt // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z StartTime *time.Time `json:"startTime,omitempty"` // The time at which the batch job's pod finishedAt. // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z EndTime *time.Time `json:"endTime,omitempty"` // Container started timestamp // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z ContainerStarted *time.Time `json:"containerStarted,omitempty"` // Status describes the component container status diff --git a/models/v2/batch_status.go b/models/v2/batch_status.go index 76af3af..15e3ab4 100644 --- a/models/v2/batch_status.go +++ b/models/v2/batch_status.go @@ -22,21 +22,18 @@ type RadixBatch struct { // // required: true // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z CreationTime time.Time `json:"creationTime"` // Started timestamp // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Started *time.Time `json:"started"` // Ended timestamp // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Ended *time.Time `json:"ended"` // Status of the job @@ -78,7 +75,6 @@ type RadixBatchJobStatus struct { // // required: true // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z CreationTime time.Time `json:"creationTime"` // JobId Optional ID of a job @@ -91,14 +87,12 @@ type RadixBatchJobStatus struct { // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Started *time.Time `json:"started"` // Ended timestamp // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Ended *time.Time `json:"ended"` // Status of the job @@ -139,28 +133,24 @@ type RadixBatchJobPodStatus struct { // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z Created time.Time `json:"created"` // The time at which the batch job's pod startedAt // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z StartTime *time.Time `json:"startTime"` // The time at which the batch job's pod finishedAt. // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z EndTime *time.Time `json:"endTime"` // Container started timestamp // // required: false // swagger:strfmt date-time - // example: 2006-01-02T15:04:05Z ContainerStarted *time.Time `json:"containerStarted"` // Status describes the component container status