From 72ba0320db73a9363213fda3049dddee312ee0ad Mon Sep 17 00:00:00 2001 From: SherlockShemol Date: Wed, 9 Oct 2024 15:09:43 +0800 Subject: [PATCH] Removed redundant DeploymentSpec definitions in JointInferenceServiceSpec --- pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go b/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go index 79cc062e0..1a9caad27 100644 --- a/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go +++ b/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go @@ -17,7 +17,6 @@ limitations under the License. package v1alpha1 import ( - appsv1 "k8s.io/api/apps/v1" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) @@ -41,7 +40,6 @@ type JointInferenceService struct { type JointInferenceServiceSpec struct { EdgeWorker EdgeWorker `json:"edgeWorker"` CloudWorker CloudWorker `json:"cloudWorker"` - appsv1.DeploymentSpec `json:",inline"` } // EdgeWorker describes the data a edge worker should have