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-05-24 12:30:19 -05:00
2024-04-16 18:57:28 +01:00
2024-12-02 11:50:59 +01:00
2023-09-05 12:09:26 +02:00
2024-03-05 14:25:50 +01:00
2024-06-05 11:16:57 +02:00
2023-08-24 17:51:07 +02:00
2022-12-21 11:09:01 +01:00
2023-10-11 17:52:23 +02:00
2024-04-01 21:30:43 +00:00
2018-02-05 16:51:57 -05:00
2024-02-01 09:55:54 +00:00
2024-01-18 15:38:51 +01:00
2023-09-27 14:10:23 +08:00
2017-09-06 12:05:19 -04:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2018-02-05 16:51:57 -05:00
2022-03-14 16:28:57 -04:00
2024-02-06 18:44:44 +01:00
2023-08-29 00:38:08 +02:00
2024-02-06 18:44:44 +01:00
2023-11-30 15:26:53 +01:00
2022-07-29 23:05:18 +02:00
2023-11-04 01:00:19 +01:00
2023-03-30 10:29:07 +01:00
2023-08-29 00:38:08 +02:00
2021-06-01 21:51:23 +00:00
2023-09-05 12:09:26 +02: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
2023-10-11 17:52:23 +02:00
2023-05-19 20:38:51 +02:00
2023-12-19 10:20:38 +01:00
2024-04-16 18:57:28 +01:00
2024-04-16 18:57:28 +01:00
2024-04-16 18:57:28 +01:00
2023-09-15 20:12:27 +02:00
2020-04-14 17:22:19 +02:00
2024-04-19 12:42:20 +02:00
2024-01-19 17:32:21 +01:00
2023-07-18 14:18:42 +02:00
2024-01-19 17:32:21 +01:00
2024-01-19 17:32:21 +01:00
2024-02-26 11:37:30 +01:00
2024-03-07 10:57:03 +01:00
2023-10-11 17:52:23 +02:00
2023-06-29 00:33:03 +02:00
2024-02-06 18:44:33 +01:00
2024-10-24 03:12:16 +00:00
2023-06-01 14:45:24 -04:00
2023-05-19 20:38:51 +02:00
2024-02-06 18:44:33 +01:00
2024-09-04 03:24:21 +00:00
2023-10-11 17:52:23 +02:00
2023-05-19 20:38:51 +02:00
2023-10-11 17:52:23 +02:00
2023-12-05 16:41:36 +01:00
2024-06-05 11:16:57 +02:00
2022-04-21 17:33:07 -04:00
2023-05-16 17:07:58 +02:00
2024-01-24 00:10:33 +01:00
2023-08-23 15:47:43 +02:00
2023-08-23 15:47:43 +02:00
2023-08-29 00:38:08 +02:00
2023-11-10 20:09:25 +00:00
2023-06-01 14:45:25 -04:00
2023-10-26 00:10:23 +01:00
2023-06-01 14:45:24 -04:00
2023-10-11 17:52:23 +02:00
2023-08-29 00:38:08 +02:00
2023-09-15 20:12:27 +02:00
2024-07-27 05:34:32 +00:00
2023-09-07 18:38:19 +00:00
2024-01-24 00:10:33 +01:00
2023-05-19 20:38:51 +02:00
2024-01-17 00:50:53 +09:00
2023-11-10 20:09:25 +00:00
2024-03-13 14:22:10 +01:00
2024-02-06 18:44:43 +01:00
2023-06-01 14:45:25 -04:00
2024-02-06 18:44:43 +01:00
2024-03-28 12:35:47 +01: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
2023-07-07 13:01:36 +02:00
2023-07-07 13:01:36 +02:00
2018-02-05 16:51:57 -05:00
2023-10-12 11:29:24 +02:00
2023-05-19 20:38:51 +02:00
2022-09-23 16:56:52 -04:00
2024-01-22 20:45:21 +01:00
2023-12-12 22:51:23 +01:00
2023-12-12 22:51:23 +01:00
2018-02-05 16:51:57 -05:00
2023-10-12 11:30:12 +02:00
2023-10-11 17:52:23 +02:00
2023-06-01 14:45:24 -04:00
2023-10-11 17:52:23 +02:00
2024-01-19 17:32:21 +01:00
2023-10-11 17:52:23 +02:00
2023-10-11 17:52:23 +02:00
2023-07-22 11:56:41 +02:00
2024-02-09 11:56:46 +00:00
2024-04-15 17:55:47 +02:00
2024-01-31 21:08:34 -05:00
2024-11-22 10:43:43 +01:00
2023-06-06 13:10:05 -04:00
2023-06-06 13:10:05 -04:00
2023-06-29 00:33:03 +02:00
2024-01-22 20:45:21 +01:00
2023-10-11 17:52:23 +02:00
2023-12-05 16:41:36 +01:00
2024-01-31 21:08:34 -05:00
2023-06-01 14:45:25 -04:00
2023-06-01 14:45:25 -04:00
2023-10-11 17:52:23 +02:00
2024-01-23 22:53:21 +01:00
2023-05-19 20:38:51 +02:00
2023-08-29 00:38:08 +02:00
2023-10-24 12:56:45 +02:00
2024-01-12 18:09:24 +01:00
2023-10-11 17:52:23 +02:00
2023-06-01 14:45:25 -04:00
2023-04-29 00:03:37 +02:00
2023-10-11 17:52:23 +02:00
2023-05-19 20:38:51 +02: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
2023-10-11 17:52:23 +02:00
2024-03-25 19:35:55 +00:00
2024-01-19 20:23:12 +00:00
2023-06-01 14:45:25 -04:00
2023-06-01 14:45:25 -04:00
2024-02-06 18:44:44 +01:00
2023-03-15 17:52:45 +01:00
2023-09-27 14:10:23 +08:00
2023-09-27 14:10:23 +08:00
2024-05-17 13:37:03 +02:00
2023-10-20 17:44:30 +02:00
2023-07-05 12:27:00 +02:00
2023-08-29 00:38:08 +02:00
2023-06-29 00:33:03 +02:00
2023-10-11 17:52:23 +02:00
2023-06-06 12:13:05 -04:00
2024-04-15 17:55:47 +02:00
2019-03-12 18:41:55 -07:00
2023-08-29 00:38:08 +02:00
2020-04-14 17:22:23 +02:00
2018-08-09 00:45:00 +09:00
2021-07-02 13:51:55 +02:00
2024-01-19 17:32:21 +01:00
2024-01-19 17:32:21 +01:00
2024-02-26 11:37:30 +01:00
2018-04-23 13:52:44 -07:00
2018-08-13 21:59:11 -07:00