Skip to content

Commit 66f9572

Browse files
committed
dont show alias region names in docker-machine inspect
1 parent 1ecbaea commit 66f9572

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/drivers/linode/linode.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ func (d *Driver) Create() error {
423423
d.InstanceID = linode.ID
424424
d.InstanceLabel = linode.Label
425425

426+
// Don't persist alias region names
427+
d.Region = linode.Region
428+
426429
for _, address := range linode.IPv4 {
427430
if private := privateIP(*address); !private {
428431
d.IPAddress = address.String()

0 commit comments

Comments
 (0)