Browse code

Merge pull request #22065 from thaJeztah/remove-deprecation-message

Remove deprecation warning

Brian Goff authored on 2016/04/19 04:29:05
Showing 1 changed files
... ...
@@ -5,9 +5,6 @@ import (
5 5
 	"os"
6 6
 	"runtime"
7 7
 	"strings"
8
-
9
-	"github.com/Sirupsen/logrus"
10
-	"github.com/docker/docker/pkg/system"
11 8
 )
12 9
 
13 10
 // DefaultDriverName is the driver name used for the driver
... ...
@@ -81,8 +78,7 @@ func (m *MountPoint) Setup() (string, error) {
81 81
 				return "", err
82 82
 			}
83 83
 			if runtime.GOOS != "windows" { // Windows does not have deprecation issues here
84
-				logrus.Warnf("Auto-creating non-existent volume host path %s, this is deprecated and will be removed soon", m.Source)
85
-				if err := system.MkdirAll(m.Source, 0755); err != nil {
84
+				if err := os.MkdirAll(m.Source, 0755); err != nil {
86 85
 					return "", err
87 86
 				}
88 87
 			}