From 321f94df2b9f09e27cf7846d617c32978baeae1f Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Sat, 13 Apr 2019 00:57:56 +0200 Subject: [PATCH] deps(pkg): update deps used in packages after go mod update for k8s 1.14.1 Signed-off-by: Lorenzo Fontana --- pkg/cmd/trace.go | 2 +- pkg/factory/factory.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/trace.go b/pkg/cmd/trace.go index 7b4ed641..04d72acf 100644 --- a/pkg/cmd/trace.go +++ b/pkg/cmd/trace.go @@ -36,7 +36,7 @@ type TraceOptions struct { // NewTraceOptions provides an instance of TraceOptions with default values. func NewTraceOptions(streams genericclioptions.IOStreams) *TraceOptions { return &TraceOptions{ - configFlags: genericclioptions.NewConfigFlags(), + configFlags: genericclioptions.NewConfigFlags(false), IOStreams: streams, } diff --git a/pkg/factory/factory.go b/pkg/factory/factory.go index c16dc5b7..a4e7c259 100644 --- a/pkg/factory/factory.go +++ b/pkg/factory/factory.go @@ -6,7 +6,7 @@ import ( corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/cli-runtime/pkg/genericclioptions" - "k8s.io/cli-runtime/pkg/genericclioptions/resource" + "k8s.io/cli-runtime/pkg/resource" "k8s.io/client-go/discovery" "k8s.io/client-go/dynamic" "k8s.io/client-go/kubernetes"