commit | 6b530ac669777a15848087e58eac9aa6a3c81af6 | [log] [tgz] |
---|---|---|
author | Qianqian Hu <Qianqian.Hu@alcatel-sbell.com.cn> | Tue Dec 29 09:32:37 2015 +0800 |
committer | Qianqian Hu <Qianqian.Hu@alcatel-sbell.com.cn> | Tue Dec 29 09:32:37 2015 +0800 |
tree | cba0794fc3d3cd72553f5a72f510a34a770d8661 | |
parent | 33836dff2a56a5de8b47e96fbda73f082eaf8a51 [diff] |
Fixing a bug in XosIntegration Change-Id: I5b4ff467f591fd5e5dd74ea72932704db35d3bf1
diff --git a/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXosIntegrationManager.java b/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXosIntegrationManager.java index 32f2a68..04dd0b8 100644 --- a/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXosIntegrationManager.java +++ b/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXosIntegrationManager.java
@@ -279,7 +279,7 @@ response = builder.post(ClientResponse.class, json); } catch (ClientHandlerException e) { log.warn("Unable to contact REST server: {}", e.getMessage()); - return "{ 'error' : 'oops no one home' }"; + return "{ \"error\" : \"oops no one home\" }"; } if (response.getStatus() != HTTP_CREATED) {