Kaynağa Gözat

ignore errors

Mohammed Nafees 3 yıl önce
ebeveyn
işleme
efe14583b3

+ 1 - 1
api/server/handlers/environment/finalize_deployment_with_errors_by_cluster.go

@@ -128,7 +128,7 @@ func (c *FinalizeDeploymentWithErrorsByClusterHandler) ServeHTTP(w http.Response
 
 	// we do not care of the error in this case because the list deployments endpoint
 	// talks to the github API to fetch the deployment status correctly
-	c.Repo().Environment().UpdateDeployment(depl)
+	_, _ = c.Repo().Environment().UpdateDeployment(depl)
 
 	// FIXME: ignore the status of this API call for now
 	client.Repositories.CreateDeploymentStatus(