Permalink
Browse files

Fix CPU Architecture error message with out of order parameters.

You can get a message like the following when requesting x86_64, on a
Nimbus cloud configured for x86.

Problem: Resource request denied: Error
creating workspace(s): incorrect CPU architecture, only 'x86_64'
supported, you request 'x86'
  • Loading branch information...
1 parent 29a9e04 commit 7eed7790e835a161379b6f3b4d9c0c4780ad66cd @oldpatricka oldpatricka committed Oct 18, 2010
View
4 .../java/source/src/org/globus/workspace/service/binding/authorization/DefaultAuthorize.java
@@ -284,8 +284,8 @@ protected void checkArchitecture(VirtualMachine vm)
if (!arch.equals(fact)) {
throw new ResourceRequestDeniedException(
- "incorrect CPU architecture, only '" + arch +
- "' supported, you request '" + fact + "'");
+ "incorrect CPU architecture, only '" + fact +
+ "' supported, you request '" + arch + "'");
}
}

0 comments on commit 7eed779

Please sign in to comment.