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 committed by Chao Sun
parent 1e3f94fa3c
commit 52c5bbc993
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: []