mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix typo of comments in daemon/graphdriver/devmapper/deviceset.go
Signed-off-by: Mabin <bin.ma@huawei.com>
This commit is contained in:
parent
a61716e5d9
commit
f4ac86de84
1 changed files with 3 additions and 3 deletions
|
@ -1093,7 +1093,7 @@ func (devices *DeviceSet) initDevmapper(doInit bool) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Right now this loads only NextDeviceId. If there is more metatadata
|
// Right now this loads only NextDeviceId. If there is more metadata
|
||||||
// down the line, we might have to move it earlier.
|
// down the line, we might have to move it earlier.
|
||||||
if err = devices.loadDeviceSetMetaData(); err != nil {
|
if err = devices.loadDeviceSetMetaData(); err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -1568,7 +1568,7 @@ func (devices *DeviceSet) poolStatus() (totalSizeInSectors, transactionId, dataU
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// MetadataDevicePath returns the path to the metadata storage for this deviceset,
|
// DataDevicePath returns the path to the data storage for this deviceset,
|
||||||
// regardless of loopback or block device
|
// regardless of loopback or block device
|
||||||
func (devices *DeviceSet) DataDevicePath() string {
|
func (devices *DeviceSet) DataDevicePath() string {
|
||||||
return devices.dataDevice
|
return devices.dataDevice
|
||||||
|
|
Loading…
Add table
Reference in a new issue