Skip to content

Commit

Permalink
Merge pull request #1379 from tjakobsson/fix-git-bootstrap-hostname
Browse files Browse the repository at this point in the history
Use proper Host configuration for SSH
  • Loading branch information
hiddeco committed May 10, 2021
2 parents d27c216 + ea62cb5 commit 12ea028
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/flux/bootstrap_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ func bootstrapGitCmdRun(cmd *cobra.Command, args []string) error {
// Configure repository URL to match auth config for sync.
repositoryURL.User = url.User(gitArgs.username)
repositoryURL.Scheme = "ssh"
repositoryURL.Host = repositoryURL.Hostname()
if bootstrapArgs.sshHostname != "" {
repositoryURL.Host = bootstrapArgs.sshHostname
}
Expand Down

0 comments on commit 12ea028

Please sign in to comment.