Skip to content

Commit

Permalink
fix: Fixing incorrectly passed auth arguments in git basic auth. (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
domderen authored Jul 28, 2021
1 parent d0e74b0 commit aa70b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner/init/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ func Exec(ctx context.Context) error {
return fmt.Errorf("failed to get secret %q: %w", v.Name, err)
} else {
auth = &http.BasicAuth{
Username: string(usernameSecret.Data[v.Key]),
Password: string(pwdSecret.Data[k.Key]),
Username: string(usernameSecret.Data[k.Key]),
Password: string(pwdSecret.Data[v.Key]),
}
}
}
Expand Down

0 comments on commit aa70b35

Please sign in to comment.