Commit 4fa4061b authored by Abmar Barros's avatar Abmar Barros
Browse files

using && as the "and" operator

parent e932d736
...@@ -45,7 +45,7 @@ public class FogbowClient { ...@@ -45,7 +45,7 @@ public class FogbowClient {
public String createRequest(int minCPU, int minRAM, public String createRequest(int minCPU, int minRAM,
String imageName, String pubKeyFilePath, String localAuthToken) throws Exception { String imageName, String pubKeyFilePath, String localAuthToken) throws Exception {
return createRequests(1, true, null, "Glue2vCPU >= " + minCPU + " Glue2RAM >= " + minRAM, return createRequests(1, true, null, "Glue2vCPU >= " + minCPU + " && Glue2RAM >= " + minRAM,
imageName, pubKeyFilePath, localAuthToken); imageName, pubKeyFilePath, localAuthToken);
} }
...@@ -78,7 +78,7 @@ public class FogbowClient { ...@@ -78,7 +78,7 @@ public class FogbowClient {
if (requirements != null) { if (requirements != null) {
headers.add(new BasicHeader("X-OCCI-Attribute", headers.add(new BasicHeader("X-OCCI-Attribute",
RequestAttribute.REQUIREMENTS + "=" + requirements)); RequestAttribute.REQUIREMENTS.getValue() + "=" + requirements));
} }
if (flavour != null) { if (flavour != null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment