Skip to content

Commit

Permalink
delete associated ns
Browse files Browse the repository at this point in the history
  • Loading branch information
sunguroku committed May 22, 2024
1 parent 5eb8079 commit 2512fc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/server/handlers/project/delete.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package project

import (
"fmt"
"net/http"

"connectrpc.com/connect"
Expand Down Expand Up @@ -36,6 +37,7 @@ func (p *ProjectDeleteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
user, _ := ctx.Value(types.UserScope).(*models.User)
proj, _ := ctx.Value(types.ProjectScope).(*models.Project)

fmt.Println("DLAKJLASJFLKJLAJS")
if proj.GetFeatureFlag(models.CapiProvisionerEnabled, p.Config().LaunchDarklyClient) {
clusters, err := p.Config().Repo.Cluster().ListClustersByProjectID(proj.ID)
if err != nil {
Expand Down

0 comments on commit 2512fc2

Please sign in to comment.