graph/load: add build tags to fix make cross

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

View File

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

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")
}