aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/claim_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/machine/qemu/claim_darwin.go')
-rw-r--r--pkg/machine/qemu/claim_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/qemu/claim_darwin.go b/pkg/machine/qemu/claim_darwin.go
index 66aed9ad8..c51d17bc9 100644
--- a/pkg/machine/qemu/claim_darwin.go
+++ b/pkg/machine/qemu/claim_darwin.go
@@ -2,7 +2,7 @@ package qemu
import (
"fmt"
- "io/ioutil"
+ "io"
"net"
"os"
"os/user"
@@ -43,7 +43,7 @@ func claimDockerSock() bool {
return false
}
_ = con.SetReadDeadline(time.Now().Add(time.Second * 5))
- read, err := ioutil.ReadAll(con)
+ read, err := io.ReadAll(con)
return err == nil && string(read) == "OK"
}