Skip to content

Commit

Permalink
Fix port-forward port flags not having defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
meln5674 committed Jan 11, 2024
1 parent 1aabee9 commit 6f41961
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/exportKubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ type exportKubeconfigCommonArgsT struct {
}

func (exportKubeconfigCommonArgsT) Defaults() exportKubeconfigCommonArgsT {
return exportKubeconfigCommonArgsT{}
return exportKubeconfigCommonArgsT{
PortForward: portForwardArgsT{}.Defaults(),
}
}

type exportKubeconfigArgsT struct {
Expand Down

0 comments on commit 6f41961

Please sign in to comment.