summaryrefslogtreecommitdiffstats
path: root/nova-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'nova-client/src')
-rw-r--r--nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java18
-rw-r--r--nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java4
2 files changed, 11 insertions, 11 deletions
diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java
index f5a0693..b9c6db4 100644
--- a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java
+++ b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HostsExtension.java
@@ -24,17 +24,17 @@ import com.woorea.openstack.nova.model.Host;
import com.woorea.openstack.nova.model.Hosts;
public class HostsExtension {
-
+
private final OpenStackClient CLIENT;
-
+
public HostsExtension(OpenStackClient client) {
CLIENT = client;
}
-
+
public List list() {
return new List();
}
-
+
public Show show(String id) {
return new Show(id);
}
@@ -48,13 +48,13 @@ public class HostsExtension {
}
public class Show extends OpenStackRequest<Host> {
-
+
public Show(String id) {
super(CLIENT, HttpMethod.GET, new StringBuffer("/os-hosts/").append(id).toString(), null, Host.class);
}
-
+
}
-
-
-}
+
+
+} \ No newline at end of file
diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java
index 9561601..8331f1f 100644
--- a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java
+++ b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java
@@ -16,6 +16,6 @@
package com.woorea.openstack.nova.api.extensions;
-public class HypervisorsExtension {
+public interface HypervisorsExtension {
-}
+} \ No newline at end of file