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:
@ -1,3 +1,5 @@
|
||||
// +build linux
|
||||
|
||||
package graph
|
||||
|
||||
import (
|
||||
|
||||
11
components/engine/graph/load_unsupported.go
Normal file
11
components/engine/graph/load_unsupported.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user