Skip to content

Commit 3df5977

Browse files
tiny-xxcaspar
authored andcommitted
fix: ssh exec.
Signed-off-by: tiny-x <xf.yefei@gmail.com>
1 parent e2df3fa commit 3df5977

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" {
198+
if expModel.ActionProcessHang && scope != "pod" && scope != "container" && 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)