fix: add empty json body to image_from_container

This commit is contained in:
Jef Roosens 2023-03-31 16:14:44 +02:00
parent d47a3c71a1
commit af2512034c
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB

View file

@ -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]()!