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
d75f2db2f9
commit
7a8c2e0097
@ -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
Block a user