From faf3486860581eb0d77ccbccc8be5ca8e128a3b8 Mon Sep 17 00:00:00 2001 From: Ce Gao Date: Tue, 25 May 2021 11:18:20 +0800 Subject: [PATCH] fix: Remove the dup comment tag (#1274) * fix: Remove the dup comment tag Signed-off-by: cegao * chore: Update codegen Signed-off-by: cegao --- pkg/apis/tensorflow/v1/openapi_generated.go | 2 +- pkg/apis/tensorflow/v1/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/tensorflow/v1/openapi_generated.go b/pkg/apis/tensorflow/v1/openapi_generated.go index 40af2c3d0e..573d167c3a 100644 --- a/pkg/apis/tensorflow/v1/openapi_generated.go +++ b/pkg/apis/tensorflow/v1/openapi_generated.go @@ -453,7 +453,7 @@ func schema_pkg_apis_tensorflow_v1_TFJobSpec(ref common.ReferenceCallback) commo }, "enableDynamicWorker": { SchemaProps: spec.SchemaProps{ - Description: "// A switch to enable dynamic worker", + Description: "A switch to enable dynamic worker", Type: []string{"boolean"}, Format: "", }, diff --git a/pkg/apis/tensorflow/v1/types.go b/pkg/apis/tensorflow/v1/types.go index 3faf0c4d76..4131394b19 100644 --- a/pkg/apis/tensorflow/v1/types.go +++ b/pkg/apis/tensorflow/v1/types.go @@ -63,7 +63,7 @@ type TFJobSpec struct { // } TFReplicaSpecs map[commonv1.ReplicaType]*commonv1.ReplicaSpec `json:"tfReplicaSpecs"` - // // A switch to enable dynamic worker + // A switch to enable dynamic worker EnableDynamicWorker bool `json:"enableDynamicWorker,omitempty"` }