Browse code

Windows: Factor out LXC

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2015/04/28 07:53:21
Showing 7 changed files
... ...
@@ -1,3 +1,5 @@
1
+// +build linux
2
+
1 3
 package lxc
2 4
 
3 5
 import (
... ...
@@ -1,3 +1,5 @@
1
+// +build linux
2
+
1 3
 package lxc
2 4
 
3 5
 import (
... ...
@@ -1,3 +1,5 @@
1
+// +build linux
2
+
1 3
 package lxc
2 4
 
3 5
 import (
... ...
@@ -1,3 +1,5 @@
1
+// +build linux
2
+
1 3
 package lxc
2 4
 
3 5
 import (
... ...
@@ -1,3 +1,5 @@
1
+// +build linux
2
+
1 3
 package lxc
2 4
 
3 5
 import (
... ...
@@ -3,5 +3,5 @@
3 3
 package lxc
4 4
 
5 5
 func finalizeNamespace(args *InitArgs) error {
6
-	panic("Not supported on darwin")
6
+	panic("Not supported on this platform")
7 7
 }
... ...
@@ -1,3 +1,5 @@
1
+// +build linux
2
+
1 3
 package lxc
2 4
 
3 5
 import (