Sfoglia il codice sorgente

chore: cleanup postrenderer

Soham Parekh 3 anni fa
parent
commit
adf644d270
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      internal/helm/postrenderer.go

+ 0 - 5
internal/helm/postrenderer.go

@@ -10,7 +10,6 @@ import (
 	"strings"
 	"strings"
 
 
 	"github.com/aws/aws-sdk-go/aws/arn"
 	"github.com/aws/aws-sdk-go/aws/arn"
-	"github.com/heroku/color"
 	"github.com/porter-dev/porter/internal/kubernetes"
 	"github.com/porter-dev/porter/internal/kubernetes"
 	"github.com/porter-dev/porter/internal/models"
 	"github.com/porter-dev/porter/internal/models"
 	"github.com/porter-dev/porter/internal/repository"
 	"github.com/porter-dev/porter/internal/repository"
@@ -679,8 +678,6 @@ func (e *EnvironmentVariablePostrenderer) updatePodSpecs() error {
 
 
 		containers, ok := containersVal.([]interface{})
 		containers, ok := containersVal.([]interface{})
 
 
-		color.Magenta("containers: %v", containers)
-
 		if !ok {
 		if !ok {
 			continue
 			continue
 		}
 		}
@@ -771,8 +768,6 @@ func (e *EnvironmentVariablePostrenderer) updatePodSpecs() error {
 			newContainers = append(newContainers, _container)
 			newContainers = append(newContainers, _container)
 		}
 		}
 
 
-		color.Red("newContainers: %v", containers)
-
 		podSpec["containers"] = newContainers
 		podSpec["containers"] = newContainers
 	}
 	}