Skip to content

Commit

Permalink
adding input watcher to jobs resume (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiverma-msft authored May 12, 2022
1 parent 9a3336c commit 8256852
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/jobsResume.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ func init() {
return errors.New("this command requires jobId to be passed as argument")
}
resumeCmdArgs.jobID = args[0]

glcm.EnableInputWatcher()
if cancelFromStdin {
glcm.EnableCancelFromStdIn()
}
return nil
},
Run: func(cmd *cobra.Command, args []string) {
Expand Down

0 comments on commit 8256852

Please sign in to comment.