Skip to content

Commit

Permalink
cleanup spew
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed Oct 2, 2024
1 parent 961d487 commit 41706c0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"os/exec"
"strings"

"github.com/davecgh/go-spew/spew"
"github.com/docker/docker/api/types/registry"
dockerregistry "github.com/docker/docker/registry"
)
Expand Down Expand Up @@ -89,7 +88,6 @@ func GetAuthFromDockerConfig(repo string) (*registry.AuthConfig, error) {

registryHost := dockerregistry.ConvertToHostname(repo)

spew.Dump(registryHost)
if !strings.Contains(registryHost, ".") || registryHost == "docker.io" || registryHost == "registry-1.docker.io" {
registryHost = "https://index.docker.io/v1/"
}
Expand Down

0 comments on commit 41706c0

Please sign in to comment.