fix(striker-ui-api): only include node(s) in manifest detail

main
Tsu-ba-me 2 years ago
parent f7dea00ae6
commit 2ca1277b3f
  1. 5
      striker-ui-api/src/lib/request_handlers/manifest/getManifestDetail.ts

@ -148,6 +148,11 @@ export const getManifestDetail: RequestHandler = (request, response) => {
stdout(`host=${hostType},n=${hostNumber}`); stdout(`host=${hostType},n=${hostNumber}`);
// Only include node-type host(s).
if (hostType !== 'node') {
return previous;
}
previous[hostId] = { previous[hostId] = {
fences: Object.entries(fence) fences: Object.entries(fence)
.sort(handleSortEntries) .sort(handleSortEntries)

Loading…
Cancel
Save