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:
Szilard Nemeth 2021-12-07 08:51:03 +01:00
parent d75f2db2f9
commit 7a8c2e0097

View File

@ -45,8 +45,8 @@ export default DS.JSONAPISerializer.extend({
},
normalizeArrayResponse(store, primaryModelClass, payload/*, id, requestType*/) {
payload = payload["containerLogsInfo"]
// Handling single container and multiple containers case at the same time
payload = [].concat(payload["containerLogsInfo"]);
var normalizedArrayResponse = {
data: []