func (vol *VolumeResource) GetDesiredStatus() resourcestatus.ResourceStatus {
	vol.lock.RLock()
	defer vol.lock.RUnlock()

	return vol.desiredStatusUnsafe
}
func (vol *VolumeResource) GetDesiredStatus() resourcestatus.ResourceStatus {
	vol.lock.RLock()
	defer vol.lock.RUnlock()

	return vol.desiredStatusUnsafe
}
func ( vol * VolumeResource ) GetDesiredStatus ( ) resourcestatus . ResourceStatus { vol . lock . RLock ( ) defer vol . lock . RUnlock ( ) return vol . desiredStatusUnsafe }
// GetDesiredStatus safely returns the desired status of the task
GetDesiredStatus safely returns the desired status of the task