mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 03:48:05 +00:00
ciao-launcher, qemu: Upgrade to new context package.
Ciao will use the new standard library context package from now on. This will allow us to use some of the new standard library functions such as DialContext. Partial fix for issue #541 Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
This commit is contained in:
parent
f57201989b
commit
5ccbaf2b59
@ -19,8 +19,9 @@ package qemu_test
|
||||
import (
|
||||
"time"
|
||||
|
||||
"context"
|
||||
|
||||
"github.com/01org/ciao/qemu"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
func Example() {
|
||||
|
2
qemu.go
2
qemu.go
@ -29,7 +29,7 @@ import (
|
||||
"os"
|
||||
"os/exec"
|
||||
|
||||
"golang.org/x/net/context"
|
||||
"context"
|
||||
)
|
||||
|
||||
// LaunchQemu can be used to launch a new qemu instance by invoking the
|
||||
|
2
qmp.go
2
qmp.go
@ -26,7 +26,7 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"golang.org/x/net/context"
|
||||
"context"
|
||||
)
|
||||
|
||||
// QMPLog is a logging interface used by the qemu package to log various
|
||||
|
@ -26,7 +26,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"golang.org/x/net/context"
|
||||
"context"
|
||||
|
||||
"github.com/01org/ciao/testutil"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user