Skip to content

Commit b5b7a3a

Browse files
Merge pull request #30 from LKaemmerling/update-hcloud-go-and-remove-unnecessary-notice
Update hcloud go to 1.13 and remove unnecessary notice
2 parents 989d4a7 + 66d9cd1 commit b5b7a3a

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

Gopkg.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
[[constraint]]
3333
name = "github.com/hetznercloud/hcloud-go"
34-
version = "1.7.0"
34+
version = "1.13.0"
3535

3636
[[constraint]]
3737
name = "github.com/pkg/errors"

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ $ docker-machine create \
9595
- `--hetzner-image-id`: The id of the Hetzner cloud image (or snapshot) to use, see [Images API](https://docs.hetzner.cloud/#resources-images-get) for how to get a list (mutually excludes `--hetzner-image`).
9696
- `--hetzner-server-type`: The type of the Hetzner Cloud server, see [Server Types API](https://docs.hetzner.cloud/#resources-server-types-get) for how to get a list (defaults to `cx11`).
9797
- `--hetzner-server-location`: The location to create the server in, see [Locations API](https://docs.hetzner.cloud/#resources-locations-get) for how to get a list.
98-
**NOTICE: Beware that Hetzner does not reject invalid location names at the time of writing this; instead, a seemingly random location is chosen. Double check both the option value's
99-
spelling and the newly created server to make sure the desired location was chosen indeed.**
10098
- `--hetzner-existing-key-path`: Use an existing (local) SSH key instead of generating a new keypair.
10199
- `--hetzner-existing-key-id`: **requires `--hetzner-existing-key-path`**. Use an existing (remote) SSH key instead of uploading the imported key pair,
102100
see [SSH Keys API](https://docs.hetzner.cloud/#resources-ssh-keys-get) for how to get a list

driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ func (d *Driver) Kill() error {
452452
}
453453

454454
func (d *Driver) getClient() *hcloud.Client {
455-
return hcloud.NewClient(hcloud.WithToken(d.AccessToken))
455+
return hcloud.NewClient(hcloud.WithToken(d.AccessToken), hcloud.WithApplication("docker-machine-driver", Version))
456456
}
457457

458458
func (d *Driver) copySSHKeyPair(src string) error {

0 commit comments

Comments
 (0)