Switching to go 1.10

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot
2018-03-20 16:41:51 +01:00
parent e501d1bcb5
commit 66634bcaa0
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ guidelines](https://github.com/docker/docker/blob/master/CONTRIBUTING.md).
The requirements to build Machine are:
1. A running instance of Docker or a Golang 1.6 development environment
1. A running instance of Docker or a Golang 1.10 development environment
2. The `bash` shell
3. [Make](https://www.gnu.org/software/make/)

View File

@@ -1,4 +1,4 @@
FROM golang:1.8.3
FROM golang:1.10.0
RUN apt-get update && apt-get install -y --no-install-recommends \
openssh-client \

View File

@@ -81,8 +81,8 @@ func (c *GenericClient) CreateInstance(d *Driver) (string, error) {
log.Info("Creating machine...")
server, err := servers.Create(c.Compute, keypairs.CreateOptsExt{
serverOpts,
d.KeyPairName,
CreateOptsBuilder: serverOpts,
KeyName: d.KeyPairName,
}).Extract()
if err != nil {
return "", err