Skip to content

Commit

Permalink
Merge pull request #227 from fyuan1316/fix/typo
Browse files Browse the repository at this point in the history
Fix some typos in documents
  • Loading branch information
volcano-sh-bot authored Jun 13, 2019
2 parents e70bfcf + c644aa5 commit 4e125ce
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
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

0 comments on commit 4e125ce

Please sign in to comment.