1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

graph/load: add build tags to fix make cross

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
unclejack 2014-11-25 01:28:20 +02:00
parent f6d9780229
commit 2ec2237909
2 changed files with 13 additions and 0 deletions

View file

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

11
graph/load_unsupported.go Normal file
View file

@ -0,0 +1,11 @@
// +build !linux
package graph
import (
"github.com/docker/docker/engine"
)
func (s *TagStore) CmdLoad(job *engine.Job) engine.Status {
return job.Errorf("CmdLoad is not supported on this platform")
}