mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	Merge pull request #66301 from wking/kubectl-drain-drop-typer
kubectl: Drop typer from DrainOptions
This commit is contained in:
		| @@ -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" | ||||||
| @@ -69,7 +68,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 | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 k8s-ci-robot
					k8s-ci-robot