fix: add empty json body to image_from_container
parent
d47a3c71a1
commit
af2512034c
1
images.v
1
images.v
|
@ -40,6 +40,7 @@ pub fn (mut d DockerConn) image_from_container(id string, repo string, tag strin
|
||||||
'repo': repo
|
'repo': repo
|
||||||
'tag': tag
|
'tag': tag
|
||||||
})
|
})
|
||||||
|
d.body('application/json', '{}')
|
||||||
d.send()!
|
d.send()!
|
||||||
|
|
||||||
return d.read_json_response[Image]()!
|
return d.read_json_response[Image]()!
|
||||||
|
|
Loading…
Reference in New Issue