mirror of https://github.com/apache/jclouds.git
Fixing bugs found by new ClientExpectTests
This commit is contained in:
parent
41dedd0498
commit
6a83898406
|
@ -150,7 +150,7 @@ public class ServerStatus {
|
||||||
&& Objects.equal(memory, other.memory)
|
&& Objects.equal(memory, other.memory)
|
||||||
&& Objects.equal(disk, other.disk)
|
&& Objects.equal(disk, other.disk)
|
||||||
&& Objects.equal(bandwidth, other.bandwidth)
|
&& Objects.equal(bandwidth, other.bandwidth)
|
||||||
&& uptime == other.uptime;
|
&& Objects.equal(uptime, other.uptime);
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,7 @@ public class DomainOptions extends BaseHttpRequestOptions {
|
||||||
* Configure the number of seconds a master or slave will wait before considering the data stale if it cannot reach the primary name server
|
* Configure the number of seconds a master or slave will wait before considering the data stale if it cannot reach the primary name server
|
||||||
*/
|
*/
|
||||||
public DomainOptions expire(int expire) {
|
public DomainOptions expire(int expire) {
|
||||||
formParameters.put("primary_ns", Integer.toString(expire));
|
formParameters.put("expire", Integer.toString(expire));
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue