aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/ui-react
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-10-08 13:52:10 +0200
committersebdet <sebastien.determe@intl.att.com>2021-10-08 13:52:10 +0200
commitb33792767bd90ce5f049d088c64812568d9a55d5 (patch)
tree9f9503ce0197ba1803ed01499a11b344a53eab11 /runtime/ui-react
parentb4f25510c8e71554cbbecf1cf1d9c21326d2d249 (diff)
Fix delete instance in Design state
The "delete" flow should not crash when policies have not been deployed yet. + Fix DCAE logs (set to DCAe component) + Fix the STDOUT that should contain the error logs as requested by OOM team Issue-ID: POLICY-3707 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I15951106280f4e781ee2f3140fa72a935d54f241
Diffstat (limited to 'runtime/ui-react')
-rw-r--r--runtime/ui-react/src/api/LoopActionService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ui-react/src/api/LoopActionService.js b/runtime/ui-react/src/api/LoopActionService.js
index bff812a2f..18ae90eff 100644
--- a/runtime/ui-react/src/api/LoopActionService.js
+++ b/runtime/ui-react/src/api/LoopActionService.js
@@ -32,7 +32,7 @@ export default class LoopActionService{
})
.then(function (response) {
if (response.ok) {
- return response.json();
+ return response;
} else {
return Promise.reject("Perform action failed with code:" + response.status);
}