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

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

	vol.knownStatusUnsafe = status
}
func ( vol * VolumeResource ) SetKnownStatus ( status resourcestatus . ResourceStatus ) { vol . lock . Lock ( ) defer vol . lock . Unlock ( ) vol . knownStatusUnsafe = status }
// SetKnownStatus safely sets the currently known status of the resource
SetKnownStatus safely sets the currently known status of the resource