Skip to content

Commit 446f005

Browse files
EvanSungxcaspar
andauthored
fix: process hang (add node scope) (#727)
Signed-off-by: EvanSung <evansung@outlook.com> Co-authored-by: xcaspar <changjun.xcj@alibaba-inc.com>
1 parent 3df5977 commit 446f005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (cc *CreateCommand) actionRunEFunc(target, scope string, actionCommand *act
195195
return response
196196
}
197197

198-
if expModel.ActionProcessHang && scope != "pod" && scope != "container" && expModel.ActionFlags["channel"] != "ssh" {
198+
if expModel.ActionProcessHang && scope != "pod" && scope != "container" && scope != "node" && expModel.ActionFlags["channel"] != "ssh" {
199199
// todo -> need to find a better way to query the status
200200
time.Sleep(time.Millisecond * 100)
201201
log.Debugf(ctx, "result: %v", response.Result)

0 commit comments

Comments
 (0)