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-09 13:02:55 +01:00
parent a67f4dc71a
commit 8053b0f205
1 changed files with 2 additions and 2 deletions

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: []