Skip to content

Commit

Permalink
Merge pull request #248 from xujingjing-cmss/patch1
Browse files Browse the repository at this point in the history
fix grammar error in api module
  • Loading branch information
kubeedge-bot authored Nov 29, 2021
2 parents 710c2a3 + acfc6d2 commit facde69
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/sedna/v1alpha1/federatedlearningjob_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/sedna/v1alpha1/jointinferenceservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/sedna/v1alpha1/objectsearchservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/sedna/v1alpha1/objecttrackingservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/sedna/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit facde69

Please sign in to comment.