From 6f41961d7616697c0af2f4be9cb2f28477fc4b4a Mon Sep 17 00:00:00 2001 From: Andrew Melnick Date: Thu, 11 Jan 2024 11:54:18 -0700 Subject: [PATCH] Fix port-forward port flags not having defaults --- cmd/exportKubeconfig.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/exportKubeconfig.go b/cmd/exportKubeconfig.go index e15cf97..02b34c7 100644 --- a/cmd/exportKubeconfig.go +++ b/cmd/exportKubeconfig.go @@ -55,7 +55,9 @@ type exportKubeconfigCommonArgsT struct { } func (exportKubeconfigCommonArgsT) Defaults() exportKubeconfigCommonArgsT { - return exportKubeconfigCommonArgsT{} + return exportKubeconfigCommonArgsT{ + PortForward: portForwardArgsT{}.Defaults(), + } } type exportKubeconfigArgsT struct {