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
Arity mismatch between MachineImage's :destroy and Driver#destroy_image #358
Comments
randomcamel
pushed a commit
to chef-boneyard/chef-provisioning-docker
that referenced
this issue
Jun 4, 2015
…overselves: workaround for chef-boneyard/chef-provisioning#358.
randomcamel
pushed a commit
to chef-boneyard/chef-provisioning-docker
that referenced
this issue
Jun 8, 2015
…overselves: workaround for chef-boneyard/chef-provisioning#358.
randomcamel
pushed a commit
to chef-boneyard/chef-provisioning-docker
that referenced
this issue
Jun 8, 2015
…overselves: workaround for chef-boneyard/chef-provisioning#358.
randomcamel
pushed a commit
to chef-boneyard/chef-provisioning-docker
that referenced
this issue
Jun 16, 2015
…overselves: workaround for chef-boneyard/chef-provisioning#358.
randomcamel
pushed a commit
that referenced
this issue
Aug 19, 2015
bglimepoint
pushed a commit
to bglimepoint/chef-provisioning
that referenced
this issue
Oct 29, 2018
… and Driver#destroy_image.
bglimepoint
pushed a commit
to bglimepoint/chef-provisioning
that referenced
this issue
Oct 29, 2018
Fix chef-boneyard#358: Arity mismatch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since this is a published API and third-party drivers might already be calling
Driver#destroy_image
with 3 arguments, the solution is to changeto
(It's a separate question of whether
machine_options
makes sense here.)In the meantime, drivers not implementing
#destroy_image
can work around this by overriding the superclass method:Which replaces the
ArgumentError
with aRuntimeError
from the superclass which will give a correct and useful error message.The text was updated successfully, but these errors were encountered: