the assignment was backward when checking the state. instead of assigning the resourceStartPct (aka the resume value) it was assigning the resourceSopPct (aka the pause pulls value)
could have either flipped the assignments or just switched from == to ~=
the assignment was backward when checking the state. instead of assigning the resourceStartPct (aka the resume value) it was assigning the resourceSopPct (aka the pause pulls value)
could have either flipped the assignments or just switched from == to ~=
also added in a WARN debug message.