mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 05:47:57 +00:00
Get Netrc machine from clone url (#800)
We previously got the machine hostname for Netrc from the url of the remote, but in cases where the clone-url does not match the api url this can lead to errors.
This commit is contained in:
@@ -285,7 +285,6 @@ func setupCoding(c *cli.Context) (remote.Remote, error) {
|
||||
Client: c.String("coding-client"),
|
||||
Secret: c.String("coding-secret"),
|
||||
Scopes: c.StringSlice("coding-scope"),
|
||||
Machine: c.String("coding-git-machine"),
|
||||
Username: c.String("coding-git-username"),
|
||||
Password: c.String("coding-git-password"),
|
||||
SkipVerify: c.Bool("coding-skip-verify"),
|
||||
|
Reference in New Issue
Block a user