summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java14
-rw-r--r--nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/CredentialsExtensionTest.java3
2 files changed, 8 insertions, 9 deletions
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java
index 924d274..aa7be87 100644
--- a/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java
+++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java
@@ -76,7 +76,7 @@ public class Image implements Serializable {
@JsonProperty("protected")
private boolean isProtected;
- private transient Map<String, Object> properties;
+ private Map<String, Object> properties;
/**
* @return the id
@@ -346,10 +346,10 @@ public class Image implements Serializable {
@Override
public String toString() {
return String.format("Image [id=%s, uri=%s, name=%s, diskFormat=%s containerFormat=%s, size=%d, checksum=%s,"
- + " createdAt=%s, updatedAt=%s, deletedAt=%s, status=%s, isPublic=%s, minRam=%d, minDisk=%d, owner=%s,"
- + " isDeleted=%s, isProtected=%s, properties=%s]",
- id, uri, name, diskFormat, containerFormat, size, checksum,
- createdAt, updatedAt, deletedAt, status, isPublic, minRam, minDisk, owner,
- isDeleted, isProtected, properties);
+ + " createdAt=%s, updatedAt=%s, deletedAt=%s, status=%s, isPublic=%s, minRam=%d, minDisk=%d, owner=%s,"
+ + " isDeleted=%s, isProtected=%s, properties=%s]",
+ id, uri, name, diskFormat, containerFormat, size, checksum,
+ createdAt, updatedAt, deletedAt, status, isPublic, minRam, minDisk, owner,
+ isDeleted, isProtected, properties);
}
-} \ No newline at end of file
+}
diff --git a/nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/CredentialsExtensionTest.java b/nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/CredentialsExtensionTest.java
index 1f80ccd..df575fe 100644
--- a/nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/CredentialsExtensionTest.java
+++ b/nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/CredentialsExtensionTest.java
@@ -32,8 +32,7 @@ public class CredentialsExtensionTest {
@Test
public void showCertificate() throws Exception {
- credentialsExtension.showCertificate();
-
+ credentialsExtension.showCertificate("id");
}
} \ No newline at end of file