Skip to content

Commit

Permalink
Removing leftover print statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob MacElroy committed Nov 16, 2021
1 parent 1eb5107 commit b531b69
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/model/stack_serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ func validateHealthcheck(healthcheck *HealthCheck) error {
}

func translateHealtcheckCurlToHTTP(healthcheck *HealthCheck) {
fmt.Printf("HC %+v\n", healthcheck)
// Join and then split the strings by space to ensure that
// each element in the string slice is a contiguous string with
// no spaces.
Expand Down Expand Up @@ -527,14 +526,11 @@ func translateHealtcheckCurlToHTTP(healthcheck *HealthCheck) {
}

if checkURL == nil {
fmt.Println("NOT FOUND")
return
}

fmt.Printf("URL FOUND: %+v\n", checkURL)
p := checkURL.Port()
if p == "" {
fmt.Println("PORT")
return
}
port, err := strconv.Atoi(p)
Expand All @@ -551,7 +547,6 @@ func translateHealtcheckCurlToHTTP(healthcheck *HealthCheck) {

healthcheck.HTTP = &HTTPHealtcheck{Path: path, Port: int32(port)}
healthcheck.Test = make(HealtcheckTest, 0)
fmt.Printf("NEXT %+v\n", healthcheck)
}

func getSvcPorts(public bool, rawPorts, rawExpose []PortRaw) (bool, []Port, error) {
Expand Down

0 comments on commit b531b69

Please sign in to comment.