Implemented a set for resource on Task
Verify if the resource was set for a task when it is being allocated. at
FogbowResourceManager