Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 2c0d466

Browse files
committed
fix(plugins/plugin-kubectl): kubectl logs command does not support drilldowns
Fixes #7187
1 parent 5b3739f commit 2c0d466

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-kubectl/logs/src/controller/kubectl

1 file changed

+1
-1
lines changed

plugins/plugin-kubectl/logs/src/controller/kubectl/logs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function getOrPty(verb: string) {
7171
return doExecWithStdout(args, undefined, cmd)
7272
}
7373

74-
if (args.execOptions.type === ExecType.TopLevel) {
74+
if (args.execOptions.type !== ExecType.Nested) {
7575
if (verb === 'exec') {
7676
// special case for kubectl exec cat, ls, pwd, etc.
7777
const idx = args.argvNoOptions.indexOf('exec')

0 commit comments

Comments
 (0)