Typo Fixes
This commit is contained in:
parent
2c833026be
commit
edf32dfe9f
1 changed files with 5 additions and 5 deletions
10
cmd/kill.go
10
cmd/kill.go
|
@ -63,9 +63,9 @@ var killJobCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
var killTaskCmd = &cobra.Command{
|
||||
Use: "task",
|
||||
Short: "Kill an Aurora Task",
|
||||
Run: killTask,
|
||||
Use: "tasks",
|
||||
Short: "Kill Aurora Tasks",
|
||||
Run: killTasks,
|
||||
}
|
||||
|
||||
func killJob(cmd *cobra.Command, args []string) {
|
||||
|
@ -86,10 +86,10 @@ func killJob(cmd *cobra.Command, args []string) {
|
|||
}
|
||||
}
|
||||
|
||||
func killTask(cmd *cobra.Command, args []string) {
|
||||
func killTasks(cmd *cobra.Command, args []string) {
|
||||
log.Infof("Killing task [Env:%s Role:%s Name:%s Instance:%s]\n", *env, *role, *name, *instance)
|
||||
|
||||
//Set jobKey for the task to be killed.
|
||||
//Set jobKey for the tasks to be killed.
|
||||
task := realis.NewTask().
|
||||
Environment(*env).
|
||||
Role(*role).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue