Skip to content
Snippets Groups Projects
Commit 66634bca authored by David Gageot's avatar David Gageot
Browse files

Switching to go 1.10


Signed-off-by: default avatarDavid Gageot <david@gageot.net>
parent e501d1bc
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ guidelines](https://github.com/docker/docker/blob/master/CONTRIBUTING.md). ...@@ -19,7 +19,7 @@ guidelines](https://github.com/docker/docker/blob/master/CONTRIBUTING.md).
The requirements to build Machine are: 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 2. The `bash` shell
3. [Make](https://www.gnu.org/software/make/) 3. [Make](https://www.gnu.org/software/make/)
......
FROM golang:1.8.3 FROM golang:1.10.0
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
openssh-client \ openssh-client \
......
...@@ -81,8 +81,8 @@ func (c *GenericClient) CreateInstance(d *Driver) (string, error) { ...@@ -81,8 +81,8 @@ func (c *GenericClient) CreateInstance(d *Driver) (string, error) {
log.Info("Creating machine...") log.Info("Creating machine...")
server, err := servers.Create(c.Compute, keypairs.CreateOptsExt{ server, err := servers.Create(c.Compute, keypairs.CreateOptsExt{
serverOpts, CreateOptsBuilder: serverOpts,
d.KeyPairName, KeyName: d.KeyPairName,
}).Extract() }).Extract()
if err != nil { if err != nil {
return "", err return "", err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment