Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
| ... | ... |
@@ -28,7 +28,7 @@ import ( |
| 28 | 28 |
"github.com/docker/docker/pkg/loopback" |
| 29 | 29 |
"github.com/docker/docker/pkg/mount" |
| 30 | 30 |
"github.com/docker/docker/pkg/parsers" |
| 31 |
- "github.com/docker/go-units" |
|
| 31 |
+ units "github.com/docker/go-units" |
|
| 32 | 32 |
|
| 33 | 33 |
"github.com/opencontainers/runc/libcontainer/label" |
| 34 | 34 |
) |
| ... | ... |
@@ -1706,9 +1706,9 @@ func (devices *DeviceSet) initDevmapper(doInit bool) error {
|
| 1706 | 1706 |
// https://github.com/docker/docker/issues/4036 |
| 1707 | 1707 |
if supported := devicemapper.UdevSetSyncSupport(true); !supported {
|
| 1708 | 1708 |
if dockerversion.IAmStatic == "true" {
|
| 1709 |
- logrus.Error("devmapper: Udev sync is not supported. This will lead to data loss and unexpected behavior. Install a dynamic binary to use devicemapper or select a different storage driver. For more information, see https://docs.docker.com/engine/reference/commandline/daemon/#daemon-storage-driver-option")
|
|
| 1709 |
+ logrus.Error("devmapper: Udev sync is not supported. This will lead to data loss and unexpected behavior. Install a dynamic binary to use devicemapper or select a different storage driver. For more information, see https://docs.docker.com/engine/reference/commandline/dockerd/#storage-driver-options")
|
|
| 1710 | 1710 |
} else {
|
| 1711 |
- logrus.Error("devmapper: Udev sync is not supported. This will lead to data loss and unexpected behavior. Install a more recent version of libdevmapper or select a different storage driver. For more information, see https://docs.docker.com/engine/reference/commandline/daemon/#daemon-storage-driver-option")
|
|
| 1711 |
+ logrus.Error("devmapper: Udev sync is not supported. This will lead to data loss and unexpected behavior. Install a more recent version of libdevmapper or select a different storage driver. For more information, see https://docs.docker.com/engine/reference/commandline/dockerd/#storage-driver-options")
|
|
| 1712 | 1712 |
} |
| 1713 | 1713 |
|
| 1714 | 1714 |
if !devices.overrideUdevSyncCheck {
|