mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
graphdriver/devmapper: clarify a message
Make sure user understands this is about the in-kernel driver (not the dockerd driver or smth). While at it, amend the comment as well. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
3364e7da3f
commit
aab2450e25
1 changed files with 2 additions and 5 deletions
|
@ -1479,12 +1479,9 @@ func (devices *DeviceSet) closeTransaction() error {
|
|||
}
|
||||
|
||||
func determineDriverCapabilities(version string) error {
|
||||
/*
|
||||
* Driver version 4.27.0 and greater support deferred activation
|
||||
* feature.
|
||||
*/
|
||||
// Kernel driver version >= 4.27.0 support deferred removal
|
||||
|
||||
logrus.Debugf("devicemapper: driver version is %s", version)
|
||||
logrus.Debugf("devicemapper: kernel dm driver version is %s", version)
|
||||
|
||||
versionSplit := strings.Split(version, ".")
|
||||
major, err := strconv.Atoi(versionSplit[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue