agent/taskresource/volume/dockervolume.go
func (vol *VolumeResource) SetDesiredStatus(status resourcestatus.ResourceStatus) {
	vol.lock.Lock()
	defer vol.lock.Unlock()

	vol.desiredStatusUnsafe = status
}
func (vol *VolumeResource) SetDesiredStatus(status resourcestatus.ResourceStatus) {
	vol.lock.Lock()
	defer vol.lock.Unlock()

	vol.desiredStatusUnsafe = status
}
func ( vol * VolumeResource ) SetDesiredStatus ( status resourcestatus . ResourceStatus ) { vol . lock . Lock ( ) defer vol . lock . Unlock ( ) vol . desiredStatusUnsafe = status }
// SetDesiredStatus safely sets the desired status of the resource
SetDesiredStatus safely sets the desired status of the resource