From 82568528d8444ceefd9591dba35c6e132cdbb601 Mon Sep 17 00:00:00 2001 From: Ishaan Verma <99612568+tiverma-msft@users.noreply.github.com> Date: Thu, 12 May 2022 22:03:24 +0530 Subject: [PATCH] adding input watcher to jobs resume (#1773) --- cmd/jobsResume.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/jobsResume.go b/cmd/jobsResume.go index 7a84717d8..165aa84aa 100644 --- a/cmd/jobsResume.go +++ b/cmd/jobsResume.go @@ -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) {