Przeglądaj źródła

clean up update app request

Justin Rhee 3 lat temu
rodzic
commit
58cb0afde2
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      api/server/handlers/stacks/update_porter_app.go

+ 0 - 4
api/server/handlers/stacks/update_porter_app.go

@@ -1,7 +1,6 @@
 package stacks
 
 import (
-	"fmt"
 	"net/http"
 
 	"github.com/porter-dev/porter/api/server/authz"
@@ -30,14 +29,11 @@ func NewUpdatePorterAppHandler(
 }
 
 func (c *UpdatePorterAppHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
-	fmt.Println("so an update was attempted...")
 	ctx := r.Context()
 	cluster, _ := ctx.Value(types.ClusterScope).(*models.Cluster)
 
 	name, _ := requestutils.GetURLParamString(r, types.URLParamReleaseName)
 
-	fmt.Println("name is", name)
-
 	porterApp, err := c.Repo().PorterApp().ReadPorterAppByName(cluster.ID, name)
 	if err != nil {
 		c.HandleAPIError(w, r, apierrors.NewErrInternal(err))