Skip to content

Commit

Permalink
migration works for sure now
Browse files Browse the repository at this point in the history
  • Loading branch information
parkiino committed Oct 19, 2020
1 parent 32de69d commit 57b8993
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const migratePackagePolicyToV7110: SavedObjectMigrationFn<PackagePolicy,
const updatedPackagePolicyDoc: SavedObjectUnsanitizedDoc<PackagePolicy> = cloneDeep(
packagePolicyDoc
);
if (packagePolicyDoc.attributes.name === 'endpoint') {
if (packagePolicyDoc.attributes.package?.name === 'endpoint') {
const input = updatedPackagePolicyDoc.attributes.inputs[0];
const popup = {
malware: {
Expand Down

0 comments on commit 57b8993

Please sign in to comment.