Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 97a194c

Browse filesBrowse files
authored
Merge pull request #503 from symfony-cli/panic-fix
Ensure we always have a scheme in Docker mapping
2 parents fcb097c + 958ba2e commit 97a194c
Copy full SHA for 97a194c

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎envs/docker.go

Copy file name to clipboardExpand all lines: envs/docker.go
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ func (l *Local) dockerServiceToRelationship(client *docker.Client, container typ
460460
rels[""]["scheme"] = "http"
461461
} else if p.PrivatePort == 443 || p.PrivatePort == 8443 {
462462
rels[""]["scheme"] = "https"
463+
} else {
464+
return nil
463465
}
464466
return rels
465467
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.