Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
INT-11441: fix JSON parse issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonyelmini committed Aug 15, 2024
1 parent b662eb2 commit 18f7d55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/steps/cmdb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ export async function fetchCMDB(
...(await getAllParents(client, resource.sys_class_name, logger)),
];

if (!jobState.hasKey(resource.sys_id)) {
const cmdbEntity = createCMDBEntity(resource, sysClassNames);
const cmdbEntity = createCMDBEntity(resource, sysClassNames);

if (!jobState.hasKey(cmdbEntity._key)) {
await jobState.addEntity(cmdbEntity);

if (
Expand Down

0 comments on commit 18f7d55

Please sign in to comment.