summaryrefslogtreecommitdiffstats
path: root/nova-client/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'nova-client/src/main/java')
-rw-r--r--nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/VolumesExtension.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/VolumesExtension.java b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/VolumesExtension.java
index b46983f..f154b5f 100644
--- a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/VolumesExtension.java
+++ b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/VolumesExtension.java
@@ -69,12 +69,12 @@ public class VolumesExtension {
public class Create extends OpenStackRequest<Volume> {
- // private Volume volume;
+
public Create(VolumeForCreate volume) {
super(CLIENT, HttpMethod.POST, "/os-volumes", Entity.json(volume),
Volume.class);
- // this.volume = volume;
+
}
}
@@ -85,7 +85,7 @@ public class VolumesExtension {
public UploadToImage(VolumeForImageCreate volumeForImageCreate) {
super(CLIENT, HttpMethod.POST, new StringBuilder("/volumes/")
- .append(volumeForImageCreate.getVolumeId() + "/action"),
+ .append(volumeForImageCreate.getVolumeId() + "/action"),
Entity.json(volumeForImageCreate), Void.class);
}
@@ -104,7 +104,7 @@ public class VolumesExtension {
public ShowMetadata(String id) {
super(CLIENT, HttpMethod.GET, new StringBuilder("/os-volumes/")
- .append(id).append("/metadata").toString(), null,
+ .append(id).append("/metadata").toString(), null,
Metadata.class);
}
@@ -119,4 +119,4 @@ public class VolumesExtension {
}
-}
+} \ No newline at end of file