Browse code

graph/load: add build tags to fix make cross

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>

unclejack authored on 2014/11/25 08:28:20
Showing 2 changed files
... ...
@@ -1,3 +1,5 @@
1
+// +build linux
2
+
1 3
 package graph
2 4
 
3 5
 import (
4 6
new file mode 100644
... ...
@@ -0,0 +1,11 @@
0
+// +build !linux
1
+
2
+package graph
3
+
4
+import (
5
+	"github.com/docker/docker/engine"
6
+)
7
+
8
+func (s *TagStore) CmdLoad(job *engine.Job) engine.Status {
9
+	return job.Errorf("CmdLoad is not supported on this platform")
10
+}