Skip to content

Commit 24cf9d4

Browse files
authored
Merge pull request #505 from kevin-studer/return_scheme_for_container
Return scheme for undefined docker container
2 parents 97a194c + 3fbf448 commit 24cf9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

envs/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ func (l *Local) dockerServiceToRelationship(client *docker.Client, container typ
461461
} else if p.PrivatePort == 443 || p.PrivatePort == 8443 {
462462
rels[""]["scheme"] = "https"
463463
} else {
464-
return nil
464+
rels[""]["scheme"] = "tcp"
465465
}
466466
return rels
467467
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy