fix: scheduled operation always fails when the flag is already disabled
cre8ivejp opened this issue · comments
Alessandro Yuichi Okimoto commented
When the Scheduled operation runs to enable or disable a flag, if the flag is already in the state that the operation wants to change, it will return an error saying it is already enabled or disabled. Because of that, the operation state doesn't change to finished and keeps trying to execute in an infinite loop.