Fix URL for status

Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
This commit is contained in:
justusbunsi 2021-10-10 16:29:29 +02:00
parent c6bc0d71ff
commit c99925abb3
No known key found for this signature in database
GPG key ID: 990B348ECAC9C7DB

View file

@ -36,8 +36,6 @@ func (sdk *GiteaSdk) UpdateStatus(repo settings.GiteaRepository, ref string, det
State: gitea.StatusState(details.State),
}
opt.TargetURL = "gitea-sonarqube-pr-bot"
_, _, err := sdk.client.CreateStatus(repo.Owner, repo.Name, ref, opt)
if err != nil {
log.Printf("Error updating status: %s", err.Error())