-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove IP adress if machine didn't exist #64
Conversation
driver/scaleway.go
Outdated
@@ -360,6 +357,9 @@ func (d *Driver) Remove() (err error) { | |||
if !d.IPPersistant { | |||
err = cl.DeleteIP(d.IPID) | |||
} | |||
if errRemove != nil { | |||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
err = errRemove
before returning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thanks!
Thanks for merging. |
@QuentinPerez actually, I have some problems with this changes. dump
I think it is becouse |
@QuentinPerez thanks! |
@ctrlok done :) |
Hi, while I try to fix #63 I found some bug: if docker-machine fail create instance it still create ip address. And that address not deleted with
docker-machine rm
.