summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-10-04 09:15:45 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-10-04 13:16:53 +0200
commit3656ea46e94b7825b4ab2188c38fbf422b243bf9 (patch)
tree5caaa8b556394a67fc90212d4ff6268c3a3812c0 /src
parent2e00b5ee91d1b35538534f3a395d5df24e330dbb (diff)
Fix linter warning
Change-Id: I1164c8566612e8b7f5d95aff6218ea2b7fc21437 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qtmoduleupdater/repo.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qtmoduleupdater/repo.go b/src/qtmoduleupdater/repo.go
index 6a8991eb..2f6e3efd 100644
--- a/src/qtmoduleupdater/repo.go
+++ b/src/qtmoduleupdater/repo.go
@@ -91,15 +91,15 @@ func RepoURL(project string) (*url.URL, error) {
// RepoPushURL returns a URL to use for pusing changes to the project.
func RepoPushURL(project string) (*url.URL, error) {
- pushUrl, err := RepoURL(project)
+ pushURL, err := RepoURL(project)
if err != nil {
return nil, err
}
user := os.Getenv("GIT_SSH_USER")
if user != "" {
- pushUrl.User = url.User(user)
+ pushURL.User = url.User(user)
}
- return pushUrl, nil
+ return pushURL, nil
}
// OpenRepository is used to create a new repository wrapper for the specified project.