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 some typos in documents #227

Merged
merged 2 commits into from
Jun 13, 2019
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Some examples of the mechanisms and features that Volcano adds to Kubernetes are
2. Fair-share scheduling
3. Queue scheduling
4. Preemption and reclaims
5. Reservartions and backfills
5. Reservations and backfills
6. Topology-based scheduling
3. Runtime extensions, e.g:
1. Support for specialized continer runtimes like Singularity,
Expand Down
2 changes: 1 addition & 1 deletion docs/design/drf - fairshare.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,5 @@ All these plugin would choose some victims respective, and the intersection of t
| queue | namespace | requested | queue assigned | namespace assigned |
| ----- | --------- | --------- | -------------- | ------------------ |
| q1 w1 | ns1 w2 | | 4 cpu | |
| q2 w3 | na1 w2 | 5 cpu | 12 cpu | 3 cpu |
| q2 w3 | ns1 w2 | 5 cpu | 12 cpu | 3 cpu |
| | ns2 w6 | 20 cpu | | 9 cpu |
3 changes: 2 additions & 1 deletion pkg/cli/job/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package job

import (
"fmt"

"github.com/spf13/cobra"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -48,7 +49,7 @@ func DeleteJob() error {
}

if deleteJobFlags.JobName == "" {
err := fmt.Errorf("job name is mandaorty to delete a particular job")
err := fmt.Errorf("job name is mandatory to delete a particular job")
return err
}

Expand Down
3 changes: 2 additions & 1 deletion pkg/cli/job/resume.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package job

import (
"fmt"

"github.com/spf13/cobra"

"volcano.sh/volcano/pkg/apis/batch/v1alpha1"
Expand Down Expand Up @@ -44,7 +45,7 @@ func ResumeJob() error {
return err
}
if resumeJobFlags.JobName == "" {
err := fmt.Errorf("job name is mandaorty to resume a particular job")
err := fmt.Errorf("job name is mandatory to resume a particular job")
return err
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/job/suspend.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func SuspendJob() error {
}

if suspendJobFlags.JobName == "" {
err := fmt.Errorf("job name is mandaorty to suspend a particular job")
err := fmt.Errorf("job name is mandatory to suspend a particular job")
return err
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/job/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ViewJob() error {
return err
}
if viewJobFlags.JobName == "" {
err := fmt.Errorf("job name (specified by --name or -n) is mandaorty to view a particular job")
err := fmt.Errorf("job name (specified by --name or -n) is mandatory to view a particular job")
return err
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/queue/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func GetQueue() error {
}

if getQueueFlags.Name == "" {
err := fmt.Errorf("name is mandaorty to get the particular queue details")
err := fmt.Errorf("name is mandatory to get the particular queue details")
return err
}

Expand Down