Fixing bugs found by new ClientExpectTests

This commit is contained in:
Adam Lowe 2012-01-11 01:07:16 +00:00
parent 41dedd0498
commit 6a83898406
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ public class ServerStatus {
&& Objects.equal(memory, other.memory)
&& Objects.equal(disk, other.disk)
&& Objects.equal(bandwidth, other.bandwidth)
&& uptime == other.uptime;
&& Objects.equal(uptime, other.uptime);
} else {
return false;
}

View File

@ -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
*/
public DomainOptions expire(int expire) {
formParameters.put("primary_ns", Integer.toString(expire));
formParameters.put("expire", Integer.toString(expire));
return this;
}