Skip to content

Commit 8a77083

Browse files
committed
pkg/bridge: LoadAdditionalResources: use port.Port
Removes the need to manually convert to a string. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 6c15ebf commit 8a77083

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/bridge/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func LoadAdditionalResources(ctx context.Context, dockerCLI command.Cli, project
178178
if err != nil {
179179
return nil, err
180180
}
181-
exposed.Add(strconv.Itoa(int(p.Num())))
181+
exposed.Add(p.Port())
182182
}
183183
for _, port := range service.Ports {
184184
exposed.Add(strconv.Itoa(int(port.Target)))

0 commit comments

Comments
 (0)