diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-03-28 14:14:23 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-03-30 08:18:35 -0700 |
commit | 7a12e01556773f0690b1e125f59dc0f4d38fdfcc (patch) | |
tree | d5e0fbf54c13be036490b00a34ebdb5454040741 /pkg/varlinkapi/attach.go | |
parent | 0fa01c8bf82a69d9c923fa982b70b72fade84be6 (diff) | |
download | podman-7a12e01556773f0690b1e125f59dc0f4d38fdfcc.tar.gz podman-7a12e01556773f0690b1e125f59dc0f4d38fdfcc.tar.bz2 podman-7a12e01556773f0690b1e125f59dc0f4d38fdfcc.zip |
V2 Move varlink home
* move cmd/podman/varlink/* to pkg/varlink to support podmanV2 refactor
* update Makefile
* reformatted all impacted code
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/varlinkapi/attach.go')
-rw-r--r-- | pkg/varlinkapi/attach.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/varlinkapi/attach.go b/pkg/varlinkapi/attach.go index 5beca3c6f..94f4d653e 100644 --- a/pkg/varlinkapi/attach.go +++ b/pkg/varlinkapi/attach.go @@ -6,10 +6,10 @@ import ( "bufio" "io" - "github.com/containers/libpod/cmd/podman/varlink" "github.com/containers/libpod/libpod" "github.com/containers/libpod/libpod/define" "github.com/containers/libpod/libpod/events" + iopodman "github.com/containers/libpod/pkg/varlink" "github.com/containers/libpod/pkg/varlinkapi/virtwriter" "github.com/pkg/errors" "github.com/sirupsen/logrus" @@ -28,7 +28,7 @@ func setupStreams(call iopodman.VarlinkCall) (*bufio.Reader, *bufio.Writer, *io. stdoutWriter := virtwriter.NewVirtWriteCloser(writer, virtwriter.ToStdout) // TODO if runc ever starts passing stderr, we can too - //stderrWriter := NewVirtWriteCloser(writer, ToStderr) + // stderrWriter := NewVirtWriteCloser(writer, ToStderr) streams := libpod.AttachStreams{ OutputStream: stdoutWriter, |