fix: add empty json body to image_from_container
This commit is contained in:
parent
d47a3c71a1
commit
af2512034c
1 changed files with 1 additions and 0 deletions
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
|
||||
'tag': tag
|
||||
})
|
||||
d.body('application/json', '{}')
|
||||
d.send()!
|
||||
|
||||
return d.read_json_response[Image]()!
|
||||
|
|
|
|||
Reference in a new issue