mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-23 17:53:23 +02:00
fixed govet issue
This commit is contained in:
parent
27640db7a3
commit
f209d126db
@ -15,7 +15,7 @@ type Request struct {
|
|||||||
// URL returns the link to the commit in
|
// URL returns the link to the commit in
|
||||||
// string format.
|
// string format.
|
||||||
func (r *Request) URL() string {
|
func (r *Request) URL() string {
|
||||||
return fmt.Sprintf("%s/%s/%s/%s",
|
return fmt.Sprintf("%s/%s/%s/%s/%s/%s",
|
||||||
r.Host,
|
r.Host,
|
||||||
r.Repo.Host,
|
r.Repo.Host,
|
||||||
r.Repo.Owner,
|
r.Repo.Owner,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user