Skip to content

Commit

Permalink
UPSTREAM: <carry>: oc debug fix crash on attach
Browse files Browse the repository at this point in the history
o.AttachFunc is nil since we use our own custom `oc debug` command.
Attaching the defaultAttachFunc if nil fixes the crash and gives a
prompt.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1618522
  • Loading branch information
rphillips committed Aug 20, 2018
1 parent 70c96cb commit 5dc7505
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vendor/k8s.io/kubernetes/pkg/kubectl/cmd/attach.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5dc7505

Please sign in to comment.