Skip to content

Commit

Permalink
Update x-pack/plugins/encrypted_saved_objects/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aleh Zasypkin <[email protected]>
  • Loading branch information
gmmorris and azasypkin authored Jun 25, 2020
1 parent 6413d35 commit 51eea24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/encrypted_saved_objects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const migration790 = encryptedSavedObjects.createMigration<RawAlert, RawAlert>(
);
```

As you can see in this example how we provide a legacy type which describes the _input_ which needs to be decrypted.
As you can see in this example we provide a legacy type which describes the _input_ which needs to be decrypted.
The migration function will default to using the registered type to encrypt the migrated document after the migration is applied.

If you need to migrate between two legacy types, you can specify both types at once:
Expand Down

0 comments on commit 51eea24

Please sign in to comment.