compose/pkg
Milas Bowman 053f20edab
port: improve error-handling if port not found (#10039)
This method looked slightly incomplete. If the port wasn't found,
it'd return `err`, but that was always `nil`, so we'd print out
`:0`.

Now, we construct a nice error message with the targeted port and
the ones we found.

The `--protocol` flag is also now case-insensitive to prevent any
weirdness/confusion there.

Co-authored-by: Nick Sieger <nicksieger@gmail.com>
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-12-05 22:11:45 +00:00
..
api port: improve error-handling if port not found (#10039) 2022-12-05 22:11:45 +00:00
compose port: improve error-handling if port not found (#10039) 2022-12-05 22:11:45 +00:00
e2e schema: add support for tmpfs.mode in mount definition (#10031) 2022-12-02 11:21:53 -05:00
mocks port: improve error-handling if port not found (#10039) 2022-12-05 22:11:45 +00:00
progress pull: improve output for services with both image+build (#9829) 2022-09-13 14:38:13 +01:00
prompt move compose-cli code into docker/compose/v2 2021-08-31 19:09:19 +02:00
utils bump docker dependencies version 2022-10-18 16:26:54 +02:00