Skip to content

Commit

Permalink
copy ServerName into clientOpts (argoproj#16267)
Browse files Browse the repository at this point in the history
Signed-off-by: Noam Gal <noam.gal@codefresh.io>
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
  • Loading branch information
ATGardner and ishitasequeira authored Nov 10, 2023
1 parent 30ff2e5 commit 4fe2dd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/argocd/commands/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ argocd login cd.argoproj.io --core`,
PortForwardNamespace: globalClientOpts.PortForwardNamespace,
Headers: globalClientOpts.Headers,
KubeOverrides: globalClientOpts.KubeOverrides,
ServerName: globalClientOpts.ServerName,
}

if ctxName == "" {
Expand Down

0 comments on commit 4fe2dd8

Please sign in to comment.