mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7c0570473c
This PR is trying to fix issue #36956. The stage name is case-insensitive by design, so we should use `strings.EqualFold()` as the comparison method to eliminate the case sensitive noise. Also we need to return a pre-defined error code order to avoid below message like: "FIXME: Got an API for which error does not match any expected type!!!: failed to reach build target dev in Dockerfile" Signed-off-by: Dennis Chen <dennis.chen@arm.com> |
||
---|---|---|
.. | ||
bflag.go | ||
bflag_test.go | ||
commands.go | ||
errors_unix.go | ||
errors_windows.go | ||
parse.go | ||
parse_test.go | ||
support.go | ||
support_test.go |