Skip to content

Commit

Permalink
Update http.go
Browse files Browse the repository at this point in the history
  • Loading branch information
alagarbey committed Oct 8, 2024
1 parent c738920 commit 003250e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func postTrigger(s *Schedule) httprouter.Handle {
}

func getVersion(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
versionResponse := VersionResponse{Version: fmt.Sprintf("(running cheek %s)", version), CommitSHA: commitSHA}
versionResponse := VersionResponse{Version: fmt.Sprintf("(running cheek v%s)", version), CommitSHA: commitSHA}
w.Header().Set("Content-Type", "application/json")
if err := json.NewEncoder(w).Encode(versionResponse); err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
Expand Down

0 comments on commit 003250e

Please sign in to comment.