Removed unnecesary prints

This commit is contained in:
Juan Font Alonso 2021-09-26 14:33:01 +02:00
parent 83ead36fce
commit ada40960bd

View file

@ -675,8 +675,7 @@ func getAPIURLs(tailscales map[string]dockertest.Resource) (map[netaddr.IP]strin
if err != nil { if err != nil {
return nil, err return nil, err
} }
fmt.Println(ip)
fmt.Println(result)
var pft []apitype.FileTarget var pft []apitype.FileTarget
if err := json.Unmarshal([]byte(result), &pft); err != nil { if err := json.Unmarshal([]byte(result), &pft); err != nil {
return nil, fmt.Errorf("invalid JSON: %w", err) return nil, fmt.Errorf("invalid JSON: %w", err)
@ -690,6 +689,5 @@ func getAPIURLs(tailscales map[string]dockertest.Resource) (map[netaddr.IP]strin
} }
} }
} }
fmt.Printf("API URLs: %+v\n", fts)
return fts, nil return fts, nil
} }