Skip to content
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

Fix disk cleanup corner-case #232

Open
Temikus opened this issue Feb 21, 2020 · 0 comments
Open

Fix disk cleanup corner-case #232

Temikus opened this issue Feb 21, 2020 · 0 comments

Comments

@Temikus
Copy link
Collaborator

Temikus commented Feb 21, 2020

If fog file specifies just a test namespace, disk cannot be properly cleaned up:

test:
  google_project: my-proj
  google_json_key_location: /my-project-key.json

Since disk is not actually instantiated, it doesn't have a name property:

==> default:  -- Additional Disks:[]
...
/Users/temikus/.vagrant.d/gems/2.4.4/gems/vagrant-google-2.4.0/lib/vagrant-google/action/run_instance.rb:269:in `block in call': undefined method `name' for #<Hash:0x0000000100c489b0> (NoMethodError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant