Browse Source

Merge pull request #248 from xujingjing-cmss/patch1

fix grammar error in api module
tags/v0.5.0
KubeEdge Bot GitHub 4 years ago
parent
commit
facde69f72
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions
  1. +2
    -2
      pkg/apis/sedna/v1alpha1/federatedlearningjob_types.go
  2. +1
    -1
      pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go
  3. +1
    -1
      pkg/apis/sedna/v1alpha1/objectsearchservice_types.go
  4. +1
    -1
      pkg/apis/sedna/v1alpha1/objecttrackingservice_types.go
  5. +1
    -1
      pkg/apis/sedna/v1alpha1/register.go

+ 2
- 2
pkg/apis/sedna/v1alpha1/federatedlearningjob_types.go View File

@@ -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"


+ 1
- 1
pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go View File

@@ -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"
)



+ 1
- 1
pkg/apis/sedna/v1alpha1/objectsearchservice_types.go View File

@@ -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"
)



+ 1
- 1
pkg/apis/sedna/v1alpha1/objecttrackingservice_types.go View File

@@ -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"
)



+ 1
- 1
pkg/apis/sedna/v1alpha1/register.go View File

@@ -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


Loading…
Cancel
Save