Files
moby/daemon
Paweł Gronowski 8657c87c8c c8d/tag: Don't create a separate error variable
Checking if the image creation failed due to IsAlreadyExists didn't use
the error from ImageService.Create.
Error from ImageService.Create was stored in a separate variable and
later IsAlreadyExists checked the standard `err` variable instead of the
`createErr`.
As there's no need to store the error in a separate variable - just
assign it to err variable and fix the check.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-02-22 10:09:23 +01:00
..
2022-12-21 11:08:57 +01:00
2023-02-01 23:29:10 -08:00
2022-12-21 11:09:01 +01:00
2022-12-21 11:09:01 +01:00
2022-09-28 01:58:51 +02:00
2022-07-29 23:05:18 +02:00
2022-09-07 15:27:16 +02:00
2022-04-21 17:33:07 -04:00
2022-11-28 20:28:55 +01:00
2023-01-31 15:19:08 -05:00
2023-01-01 12:33:00 +01:00
2022-05-12 14:48:35 -07:00