fix: add empty json body to image_from_container

main
Jef Roosens 2023-03-31 16:14:44 +02:00
parent d47a3c71a1
commit af2512034c
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 1 additions and 0 deletions

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