Merge pull request #4003 from wansir/fix-3041
Fix panic due to nil pointer exception
This commit is contained in:
@@ -47,6 +47,7 @@ type terminalHandler struct {
|
||||
|
||||
func newTerminalHandler(client kubernetes.Interface, authorizer authorizer.Authorizer, config *rest.Config) *terminalHandler {
|
||||
return &terminalHandler{
|
||||
authorizer: authorizer,
|
||||
terminaler: terminal.NewTerminaler(client, config),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user