Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undeployActions does not have equivalent filterEntities option that is in deployActions #114

Open
shazron opened this issue Jan 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@shazron
Copy link
Member

shazron commented Jan 30, 2023

Repro

Sample Code:

await sdk.deployActions(config, { filterEntities: { actions: ['myAction'] } })
await sdk.undeployActions(config)

For example, if you have a rule for an action called myAction, it will not be be deployed when setting filterEntities above. When you go to undeploy actions with the same config, it will error out since it will try to undeploy the rule that was never deployed.

Expected

You can specify the same filterEntities that you used for deployActions, in undeployActions.

Actual

You cannot specify the same filterEntities that you used for deployActions, in undeployActions, resulting in an undeploy error.

@shazron shazron added the bug Something isn't working label Jan 30, 2023
@aiojbot
Copy link
Collaborator

aiojbot commented Feb 16, 2023

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants