Change the wording of the docker storage warning

The preload is currently only available for overlay2,
so when using another storage driver it will not be used.
pull/16973/head
Anders F Björklund 2023-07-31 15:16:16 +02:00
parent 747495cfea
commit 15b4b37bc1
1 changed files with 1 additions and 1 deletions

View File

@ -1845,7 +1845,7 @@ func validateDockerStorageDriver(drvName string) {
if si.StorageDriver == "overlay2" {
return
}
out.WarningT("{{.Driver}} is currently using the {{.StorageDriver}} storage driver, consider switching to overlay2 for better performance", out.V{"StorageDriver": si.StorageDriver, "Driver": drvName})
out.WarningT("{{.Driver}} is currently using the {{.StorageDriver}} storage driver, setting preload=false", out.V{"StorageDriver": si.StorageDriver, "Driver": drvName})
viper.Set(preload, false)
}