Skip to content

Commit

Permalink
Fix error message when adding non-Service Resource's to an Application
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Sep 25, 2009
1 parent 385ff1e commit 3af55ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hqu/hqapi1/app/ApplicationController.groovy
Expand Up @@ -78,7 +78,7 @@ class ApplicationController extends ApiController {
ApplicationResponse() {
out << getFailureXML(ErrorCode.INVALID_PARAMETERS,
"Invalid resource passed to create, " +
r.name + " is not a service")
resource.name + " is not a service")
}
}
return
Expand Down Expand Up @@ -168,7 +168,7 @@ class ApplicationController extends ApiController {
ApplicationResponse() {
out << getFailureXML(ErrorCode.INVALID_PARAMETERS,
"Invalid resource passed to create, " +
r.name + " is not a service")
resource.name + " is not a service")
}
}
return
Expand Down

0 comments on commit 3af55ca

Please sign in to comment.