Skip to content

Bug/fix remove api action#806

Open
mehdi-shokohi wants to merge 2 commits intojmpsec:mainfrom
mehdi-shokohi:bug/fix-remove-api-action
Open

Bug/fix remove api action#806
mehdi-shokohi wants to merge 2 commits intojmpsec:mainfrom
mehdi-shokohi:bug/fix-remove-api-action

Conversation

@mehdi-shokohi
Copy link
Copy Markdown

Fix incorrect function calls in API remove actions handler
Problem: The EnvRemoveActionsHandler was incorrectly calling enrollment functions (ExtendEnroll, ExpireEnroll, RotateEnroll, NotExpireEnroll) instead of the corresponding remove functions (ExtendRemove, ExpireRemove, RotateRemove, NotExpireRemove).

Solution: Updated all action cases in EnvRemoveActionsHandler to use the correct remove-specific functions:

ExtendEnroll → ExtendRemove
ExpireEnroll → ExpireRemove
RotateEnroll → RotateRemove
NotExpireEnroll → NotExpireRemove
Files changed:

environments.go: Fixed function calls in EnvRemoveActionsHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant