Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
sunguroku committed May 22, 2024
1 parent c6ecb61 commit 7296d25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/server/handlers/project/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ func (p *ProjectDeleteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

_, err = p.Config().ClusterControlPlaneClient.DeletePorterCloudCluster(ctx, req)

Check failure on line 60 in api/server/handlers/project/delete.go

View workflow job for this annotation

GitHub Actions / Go Linter

p.Config().ClusterControlPlaneClient.DeletePorterCloudCluster undefined (type porterv1connect.ClusterControlPlaneServiceClient has no field or method DeletePorterCloudCluster) (typecheck)

Check failure on line 60 in api/server/handlers/project/delete.go

View workflow job for this annotation

GitHub Actions / Go Linter

p.Config().ClusterControlPlaneClient.DeletePorterCloudCluster undefined (type porterv1connect.ClusterControlPlaneServiceClient has no field or method DeletePorterCloudCluster)) (typecheck)

Check failure on line 60 in api/server/handlers/project/delete.go

View workflow job for this annotation

GitHub Actions / Go Linter

p.Config().ClusterControlPlaneClient.DeletePorterCloudCluster undefined (type porterv1connect.ClusterControlPlaneServiceClient has no field or method DeletePorterCloudCluster)) (typecheck)

Check failure on line 60 in api/server/handlers/project/delete.go

View workflow job for this annotation

GitHub Actions / Running Go Tests (ubuntu-latest, api)

p.Config().ClusterControlPlaneClient.DeletePorterCloudCluster undefined (type porterv1connect.ClusterControlPlaneServiceClient has no field or method DeletePorterCloudCluster)

Check failure on line 60 in api/server/handlers/project/delete.go

View workflow job for this annotation

GitHub Actions / Running Go Tests (ubuntu-latest, cmd)

p.Config().ClusterControlPlaneClient.DeletePorterCloudCluster undefined (type porterv1connect.ClusterControlPlaneServiceClient has no field or method DeletePorterCloudCluster)
if err != nil {
e := "error deleting cluster"
err = telemetry.Error(ctx, span, err, e)
err = telemetry.Error(ctx, span, err, "error deleting cluster")
p.HandleAPIError(w, r, apierrors.NewErrPassThroughToClient(err, http.StatusInternalServerError))
return
}
Expand Down

0 comments on commit 7296d25

Please sign in to comment.