File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,8 @@ limitations under the License.
17
17
package machine
18
18
19
19
import (
20
- "io/ioutil"
21
- "path/filepath"
22
-
23
20
"github.com/docker/machine/libmachine/host"
24
21
"github.com/pkg/errors"
25
- "k8s.io/minikube/pkg/minikube/localpath"
26
22
)
27
23
28
24
// Machine contains information about a machine
@@ -78,18 +74,3 @@ func LoadMachine(name string) (*Machine, error) {
78
74
}
79
75
return & mm , nil
80
76
}
81
-
82
- func machineDirs (miniHome ... string ) (dirs []string , err error ) {
83
- miniPath := localpath .MiniPath ()
84
- if len (miniHome ) > 0 {
85
- miniPath = miniHome [0 ]
86
- }
87
- mRootDir := filepath .Join (miniPath , "machines" )
88
- items , err := ioutil .ReadDir (mRootDir )
89
- for _ , f := range items {
90
- if f .IsDir () {
91
- dirs = append (dirs , f .Name ())
92
- }
93
- }
94
- return dirs , err
95
- }
You can’t perform that action at this time.
0 commit comments