Fixing a bug in XosIntegration
Change-Id: I5b4ff467f591fd5e5dd74ea72932704db35d3bf1
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -279,7 +279,7 @@ public class OnosXosIntegrationManager implements VoltTenantService { | ... | @@ -279,7 +279,7 @@ public class OnosXosIntegrationManager implements VoltTenantService { |
279 | response = builder.post(ClientResponse.class, json); | 279 | response = builder.post(ClientResponse.class, json); |
280 | } catch (ClientHandlerException e) { | 280 | } catch (ClientHandlerException e) { |
281 | log.warn("Unable to contact REST server: {}", e.getMessage()); | 281 | log.warn("Unable to contact REST server: {}", e.getMessage()); |
282 | - return "{ 'error' : 'oops no one home' }"; | 282 | + return "{ \"error\" : \"oops no one home\" }"; |
283 | } | 283 | } |
284 | 284 | ||
285 | if (response.getStatus() != HTTP_CREATED) { | 285 | if (response.getStatus() != HTTP_CREATED) { | ... | ... |
-
Please register or login to post a comment