Fix vet error about passing Mutex by value

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-01-14 14:03:00 -08:00
parent 5ce60217f1
commit bb96e53b0f

View file

@ -1550,13 +1550,13 @@ func (devices *DeviceSet) poolStatus() (totalSizeInSectors, transactionId, dataU
// MetadataDevicePath returns the path to the metadata storage for this deviceset,
// regardless of loopback or block device
func (devices DeviceSet) DataDevicePath() string {
func (devices *DeviceSet) DataDevicePath() string {
return devices.dataDevice
}
// MetadataDevicePath returns the path to the metadata storage for this deviceset,
// regardless of loopback or block device
func (devices DeviceSet) MetadataDevicePath() string {
func (devices *DeviceSet) MetadataDevicePath() string {
return devices.metadataDevice
}