Skip to content

Commit

Permalink
change completed string to const
Browse files Browse the repository at this point in the history
  • Loading branch information
ashearin committed Dec 4, 2023
1 parent 47b5c21 commit d04c9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/gitlabrepo/checkruns.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func parseGitlabStatus(info *gitlab.PipelineInfo) clients.CheckRun {
checkrun := clients.CheckRun{
URL: info.WebURL,
}
completed := "completed"
const completed = "completed"

switch info.Status {
case "created", "waiting_for_resource", "preparing", "pending", "scheduled":
Expand Down

0 comments on commit d04c9a3

Please sign in to comment.