Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix grammar error in api module #248

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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