diff --git a/README.md b/README.md index 677d5c2563..6417c26465 100644 --- a/README.md +++ b/README.md @@ -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, diff --git a/docs/design/drf - fairshare.md b/docs/design/drf - fairshare.md index 4b69448f97..038b60b5b4 100644 --- a/docs/design/drf - fairshare.md +++ b/docs/design/drf - fairshare.md @@ -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 | \ No newline at end of file diff --git a/pkg/cli/job/delete.go b/pkg/cli/job/delete.go index e6f697b500..05789818ec 100644 --- a/pkg/cli/job/delete.go +++ b/pkg/cli/job/delete.go @@ -18,6 +18,7 @@ package job import ( "fmt" + "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -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 } diff --git a/pkg/cli/job/resume.go b/pkg/cli/job/resume.go index d73c1d6dcd..8779bd70e1 100644 --- a/pkg/cli/job/resume.go +++ b/pkg/cli/job/resume.go @@ -17,6 +17,7 @@ package job import ( "fmt" + "github.com/spf13/cobra" "volcano.sh/volcano/pkg/apis/batch/v1alpha1" @@ -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 } diff --git a/pkg/cli/job/suspend.go b/pkg/cli/job/suspend.go index 504cdd2381..fb0ebf7fd6 100644 --- a/pkg/cli/job/suspend.go +++ b/pkg/cli/job/suspend.go @@ -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 } diff --git a/pkg/cli/job/view.go b/pkg/cli/job/view.go index 65c11a37d5..a4d9209fc4 100644 --- a/pkg/cli/job/view.go +++ b/pkg/cli/job/view.go @@ -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 } diff --git a/pkg/cli/queue/get.go b/pkg/cli/queue/get.go index bc5a256bcf..4b3c946e42 100644 --- a/pkg/cli/queue/get.go +++ b/pkg/cli/queue/get.go @@ -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 }