kubectl: Drop typer from DrainOptions

The property was added in c6e9ad06 (Initial node drain implementation
for #3885, 2015-10-30, #16698), but beb5ea64 (remove mapper dependency
- PrintSuccess, 2018-02-01, #59227) removed the only initializer.
pull/58/head
W. Trevor King 2018-07-17 09:47:01 -07:00
parent a74df596ab
commit 0d81e838d7
1 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/fields"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/types"
utilerrors "k8s.io/apimachinery/pkg/util/errors" utilerrors "k8s.io/apimachinery/pkg/util/errors"
"k8s.io/apimachinery/pkg/util/json" "k8s.io/apimachinery/pkg/util/json"
@ -70,7 +69,6 @@ type DrainOptions struct {
Selector string Selector string
PodSelector string PodSelector string
nodeInfos []*resource.Info nodeInfos []*resource.Info
typer runtime.ObjectTyper
genericclioptions.IOStreams genericclioptions.IOStreams
} }