From af2512034c8e36e34927f6277a722b7f87efc6e8 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Fri, 31 Mar 2023 16:14:44 +0200 Subject: [PATCH] fix: add empty json body to image_from_container --- images.v | 1 + 1 file changed, 1 insertion(+) diff --git a/images.v b/images.v index 016a1dd..fd7f0d4 100644 --- a/images.v +++ b/images.v @@ -40,6 +40,7 @@ pub fn (mut d DockerConn) image_from_container(id string, repo string, tag strin 'repo': repo 'tag': tag }) + d.body('application/json', '{}') d.send()! return d.read_json_response[Image]()!