> @@ -90,6 +95,28 @@ public VirtualDatacenter getVirtualDatacenter() {
> return virtualDatacenter;
> }
>
> + /**
> + * Retrieve the virtual machine this volume is attached to, or null if it
> is
> + * detached.
> + *
> + * @return The virtual machine this volume is attached to, or null if it
> is
> + * not attached.
> + */
> + public VirtualMachine getVirtualMachine() {
> + if ( ATTACHED == valueOf(target.getState()) ) {
[formatting] Remove spaces inside the `(...)`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/31/files#r7264958