diff --git a/assets/tasks/container_grype_check.yaml b/assets/tasks/container_grype_check.yaml index 6d01fd3fc..19ae2722a 100644 --- a/assets/tasks/container_grype_check.yaml +++ b/assets/tasks/container_grype_check.yaml @@ -1,7 +1,7 @@ ID: "container-grype-check" Name: "Container Grype Check" Description: "Check if all container artifacts are free of vulnerabilities" -ImageURL: "ghcr.io/opengovern/og-task-grype:local-v0.0.51" +ImageURL: "ghcr.io/opengovern/og-task-grype:local-v0.0.53" Command: "/og-task-grype" WorkloadType: "deployment" EnvVars: {} diff --git a/services/tasks/http.go b/services/tasks/http.go index f6d2733b5..776c744a6 100644 --- a/services/tasks/http.go +++ b/services/tasks/http.go @@ -96,8 +96,8 @@ func (r *httpRoutes) getTaskRunResult(ctx echo.Context) error { id := ctx.Param("id") taskResults, err := r.db.GetTaskRunResult(id) if err != nil { - r.logger.Error("failed to get task result", zap.Error(err)) - return ctx.JSON(http.StatusInternalServerError, "failed to get task result") + r.logger.Error("failed to get task results", zap.Error(err)) + return ctx.JSON(http.StatusInternalServerError, "failed to get task results") } return ctx.JSON(http.StatusOK, taskResults)