#806 Bug/fix remove api action
Pull request opened by
mehdi-shokohi
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
jmpsec/osctrl