diff --git a/pkg/apis/sedna/v1alpha1/federatedlearningjob_types.go b/pkg/apis/sedna/v1alpha1/federatedlearningjob_types.go index e0e9bc81..2d7413a2 100644 --- a/pkg/apis/sedna/v1alpha1/federatedlearningjob_types.go +++ b/pkg/apis/sedna/v1alpha1/federatedlearningjob_types.go @@ -134,9 +134,9 @@ type FLJobConditionType string // These are valid conditions of a job. const ( - // FLJobComplete means the job has completed its execution. + // FLJobCondComplete means the job has completed its execution. FLJobCondComplete FLJobConditionType = "Complete" - // FLJobFailed means the job has failed its execution. + // FLJobCondFailed means the job has failed its execution. FLJobCondFailed FLJobConditionType = "Failed" // FLJobCondTraining means the job has been training. FLJobCondTraining FLJobConditionType = "Training" diff --git a/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go b/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go index 9b1eb0b1..1a9caad2 100644 --- a/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go +++ b/pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go @@ -115,7 +115,7 @@ const ( JointInferenceServiceCondPending JointInferenceServiceConditionType = "Pending" // JointInferenceServiceCondFailed means the service has failed its execution. JointInferenceServiceCondFailed JointInferenceServiceConditionType = "Failed" - // JointInferenceServiceReady means the service has been ready. + // JointInferenceServiceCondRunning means the service is running. JointInferenceServiceCondRunning JointInferenceServiceConditionType = "Running" ) diff --git a/pkg/apis/sedna/v1alpha1/objectsearchservice_types.go b/pkg/apis/sedna/v1alpha1/objectsearchservice_types.go index 98dc4a18..d19b028c 100644 --- a/pkg/apis/sedna/v1alpha1/objectsearchservice_types.go +++ b/pkg/apis/sedna/v1alpha1/objectsearchservice_types.go @@ -89,7 +89,7 @@ const ( ObjectSearchServiceCondPending ObjectSearchServiceConditionType = "Pending" // ObjectSearchServiceCondFailed means the service has failed its execution. ObjectSearchServiceCondFailed ObjectSearchServiceConditionType = "Failed" - // ObjectSearchServiceReady means the service has been ready. + // ObjectSearchServiceCondRunning means the service is running. ObjectSearchServiceCondRunning ObjectSearchServiceConditionType = "Running" ) diff --git a/pkg/apis/sedna/v1alpha1/objecttrackingservice_types.go b/pkg/apis/sedna/v1alpha1/objecttrackingservice_types.go index da58c159..26232f3d 100644 --- a/pkg/apis/sedna/v1alpha1/objecttrackingservice_types.go +++ b/pkg/apis/sedna/v1alpha1/objecttrackingservice_types.go @@ -83,7 +83,7 @@ const ( ObjectTrackingServiceCondPending ObjectTrackingServiceConditionType = "Pending" // ObjectTrackingServiceCondFailed means the service has failed its execution. ObjectTrackingServiceCondFailed ObjectTrackingServiceConditionType = "Failed" - // ObjectTrackingServiceReady means the service has been ready. + // ObjectTrackingServiceCondRunning means the service is running. ObjectTrackingServiceCondRunning ObjectTrackingServiceConditionType = "Running" ) diff --git a/pkg/apis/sedna/v1alpha1/register.go b/pkg/apis/sedna/v1alpha1/register.go index 44329d17..6c1ea41d 100644 --- a/pkg/apis/sedna/v1alpha1/register.go +++ b/pkg/apis/sedna/v1alpha1/register.go @@ -21,7 +21,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - sedna "github.com/kubeedge/sedna/pkg/apis/sedna" + "github.com/kubeedge/sedna/pkg/apis/sedna" ) // SchemeGroupVersion is group version used to register these objects