diff options
author | baude <bbaude@redhat.com> | 2018-05-29 09:57:06 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-06-01 09:13:31 -0500 |
commit | 62ea88fa193c116440740d3eb82977fd38de1a82 (patch) | |
tree | 70feb8b7f3c50edb1a00c2c788a9559e46d9e7fc /pkg/varlinkapi/containers.go | |
parent | ff3b46e769bc9a064ee8f45b9dbff8795d94bb7a (diff) | |
download | podman-62ea88fa193c116440740d3eb82977fd38de1a82.tar.gz podman-62ea88fa193c116440740d3eb82977fd38de1a82.tar.bz2 podman-62ea88fa193c116440740d3eb82977fd38de1a82.zip |
varlink build
Add the endpoint and methods for build so users can build an image
with varlink. build can also use the more method for streaming
output back more regularily; however, it looks like a bug in buildah
does not output all build output to the writer provided.
Tidy up some create fixes and add endpoint for GetImage requested by
jhonce.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/varlinkapi/containers.go')
-rw-r--r-- | pkg/varlinkapi/containers.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/varlinkapi/containers.go b/pkg/varlinkapi/containers.go index 41263b52b..2b84151a9 100644 --- a/pkg/varlinkapi/containers.go +++ b/pkg/varlinkapi/containers.go @@ -182,6 +182,9 @@ func (i *LibpodAPI) GetContainerLogs(call ioprojectatomicpodman.VarlinkCall, nam logs = append(logs, line) } } + + call.Continues = false + return call.ReplyGetContainerLogs(logs) } |