Files
Paweł Gronowski 3e0c4ba425 c8d/tag: Don't log a warning if the source image is not dangling
After the image is tagged, the engine attempts to delete a dangling
image of the source image, so the image is no longer dangling.

When the source image is not dangling, the removal errors out (as
expected), but a warning is logged to the daemon log:

```
time="2024-12-02T10:44:25.386957553Z" level=warning msg="unexpected error when deleting dangling image" error="NotFound: image \"moby-dangling@sha256:54d8c2251c811295690b53af7767ecaf246f1186c36e4f2b2a63e0bfa42df045\": not found" imageID="sha256:54d8c2251c811295690b53af7767ecaf246f1186c36e4f2b2a63e0bfa42df045" spanID=bd10a21a07830d72 tag="docker.io/library/test:latest" traceID=4cf61671c2dc6da3dc7a09c0c6ac4e16
```

Remove that log as it causes unnecessary confusion, as the failure is
expected.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit a93f6c61db)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-12-02 11:50:59 +01:00
..
2024-04-16 18:57:28 +01:00
2022-12-21 11:09:01 +01:00
2018-02-05 16:51:57 -05:00
2023-09-27 14:10:23 +08:00
2017-09-06 12:05:19 -04:00
2022-07-29 23:05:18 +02:00
2023-03-30 10:29:07 +01:00
2021-06-01 21:51:23 +00:00
2018-02-05 16:51:57 -05:00
2024-01-19 17:32:21 +01:00
2022-04-21 17:33:07 -04:00
2023-11-10 20:09:25 +00:00
2023-10-26 00:10:23 +01:00
2023-09-07 18:38:19 +00:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2024-03-07 10:57:03 +01:00
2018-02-05 16:51:57 -05:00
2023-05-19 20:38:51 +02:00
2018-02-05 16:51:57 -05:00
2024-01-19 17:32:21 +01:00
2023-05-19 20:38:51 +02:00
2018-02-05 16:51:57 -05:00
2023-09-27 14:10:23 +08:00
2023-09-27 14:10:23 +08:00
2024-01-19 17:32:21 +01:00
2018-04-23 13:52:44 -07:00