Skip to content

Commit

Permalink
pipeline fix
Browse files Browse the repository at this point in the history
Signed-off-by: asamonik <[email protected]>
  • Loading branch information
asamonik committed Aug 7, 2024
1 parent e443906 commit b61c11f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion keptn-gateway/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ func handlerMetricsCount(w http.ResponseWriter, r *http.Request) {

w.WriteHeader(http.StatusOK)
returnval := fmt.Sprintf("%#v", len(l.Items))
w.Write([]byte(returnval))

_, err = w.Write([]byte(returnval))
if err != nil {
fmt.Println(err.Error())
}
}

func main() {
Expand Down

0 comments on commit b61c11f

Please sign in to comment.