Skip to content

Commit

Permalink
Merge pull request #108 from docker/fix-docker-api-url-env
Browse files Browse the repository at this point in the history
Fix typo on env vars
  • Loading branch information
silvin-lubecki authored Nov 6, 2020
2 parents 4dc2401 + 8e77ceb commit e603ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/hub/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (
// getInstance returns the current hub instance, which can be overridden by
// DOCKER_REGISTRY_URL and DOCKER_REGISTRY_URL env var
func getInstance() *Instance {
apiBaseURL := os.Getenv("DOCKER_REGISTRY_URL")
apiBaseURL := os.Getenv("DOCKER_HUB_API_URL")
reg := os.Getenv("DOCKER_REGISTRY_URL")

if apiBaseURL != "" && reg != "" {
Expand Down

0 comments on commit e603ffd

Please sign in to comment.