Skip to content

Commit 800511f

Browse files
Update src/loaders/api/register.js
Co-authored-by: ptang-nr <ptang@newrelic.com>
1 parent 27984c0 commit 800511f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/loaders/api/register.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ function register (agentRef, target, parent) {
5353
target.type = V2_TYPES.MFE
5454
target.licenseKey ||= agentRef.info.licenseKey // will inherit the license key from the container agent if not provided for brevity. A future state may dictate that we need different license keys to do different things.
5555
target.blocked = false
56-
target.parent = parent || {}
5756
if (typeof target.tags !== 'object' || target.tags === null || Array.isArray(target.tags)) target.tags = {}
5857
target.parent = parent || {
5958
get id () { return agentRef.runtime.appMetadata.agents[0].entityGuid }, // getter because this is asyncronously set

0 commit comments

Comments
 (0)