Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fogbow
fogbow4j
Commits
4fa4061b
Commit
4fa4061b
authored
Apr 17, 2015
by
Abmar Barros
Browse files
using && as the "and" operator
parent
e932d736
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/org/fogbowcloud/cli/FogbowClient.java
View file @
4fa4061b
...
...
@@ -45,7 +45,7 @@ public class FogbowClient {
public
String
createRequest
(
int
minCPU
,
int
minRAM
,
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
);
}
...
...
@@ -78,7 +78,7 @@ public class FogbowClient {
if
(
requirements
!=
null
)
{
headers
.
add
(
new
BasicHeader
(
"X-OCCI-Attribute"
,
RequestAttribute
.
REQUIREMENTS
+
"="
+
requirements
));
RequestAttribute
.
REQUIREMENTS
.
getValue
()
+
"="
+
requirements
));
}
if
(
flavour
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment