ubccr / coldfront

HPC Resource Allocation System
https://coldfront.readthedocs.io
GNU General Public License v3.0
96 stars 76 forks source link

Fixed a bug that prevented allocations from being disabled even after it has been denied or revoked #596

Open QuanMPhm opened 5 months ago

QuanMPhm commented 5 months ago

The if statement used the wrong operator to determine if the allocation status was changed to "Denied" or "Revoked". This prevented a signal from being sent that would indicated that the allocation should be disabled.