YARN-11020. [UI2] No container is found for an application attempt with a single AM container. Contributed by Andras Gyori
This commit is contained in:
parent
a67f4dc71a
commit
8053b0f205
|
@ -45,8 +45,8 @@ export default DS.JSONAPISerializer.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
normalizeArrayResponse(store, primaryModelClass, payload/*, id, requestType*/) {
|
normalizeArrayResponse(store, primaryModelClass, payload/*, id, requestType*/) {
|
||||||
|
// Handling single container and multiple containers case at the same time
|
||||||
payload = payload["containerLogsInfo"]
|
payload = [].concat(payload["containerLogsInfo"]);
|
||||||
|
|
||||||
var normalizedArrayResponse = {
|
var normalizedArrayResponse = {
|
||||||
data: []
|
data: []
|
||||||
|
|
Loading…
Reference in New Issue