Browse Source

Merge pull request #12831 from Microsoft/10662-nolxconwindows

Windows: Factor out LXC
Michael Crosby 10 years ago
parent
commit
6b42d72d86

+ 2 - 0
daemon/execdriver/lxc/driver.go

@@ -1,3 +1,5 @@
+// +build linux
+
 package lxc
 
 import (

+ 2 - 0
daemon/execdriver/lxc/info.go

@@ -1,3 +1,5 @@
+// +build linux
+
 package lxc
 
 import (

+ 2 - 0
daemon/execdriver/lxc/info_test.go

@@ -1,3 +1,5 @@
+// +build linux
+
 package lxc
 
 import (

+ 2 - 0
daemon/execdriver/lxc/init.go

@@ -1,3 +1,5 @@
+// +build linux
+
 package lxc
 
 import (

+ 2 - 0
daemon/execdriver/lxc/lxc_init_linux.go

@@ -1,3 +1,5 @@
+// +build linux
+
 package lxc
 
 import (

+ 1 - 1
daemon/execdriver/lxc/lxc_init_unsupported.go

@@ -3,5 +3,5 @@
 package lxc
 
 func finalizeNamespace(args *InitArgs) error {
-	panic("Not supported on darwin")
+	panic("Not supported on this platform")
 }

+ 2 - 0
daemon/execdriver/lxc/lxc_template.go

@@ -1,3 +1,5 @@
+// +build linux
+
 package lxc
 
 import (