Fix URL for status
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
This commit is contained in:
parent
c6bc0d71ff
commit
c99925abb3
|
@ -36,8 +36,6 @@ func (sdk *GiteaSdk) UpdateStatus(repo settings.GiteaRepository, ref string, det
|
||||||
State: gitea.StatusState(details.State),
|
State: gitea.StatusState(details.State),
|
||||||
}
|
}
|
||||||
|
|
||||||
opt.TargetURL = "gitea-sonarqube-pr-bot"
|
|
||||||
|
|
||||||
_, _, err := sdk.client.CreateStatus(repo.Owner, repo.Name, ref, opt)
|
_, _, err := sdk.client.CreateStatus(repo.Owner, repo.Name, ref, opt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Error updating status: %s", err.Error())
|
log.Printf("Error updating status: %s", err.Error())
|
||||||
|
|
Loading…
Reference in a new issue