Skip to content

Commit

Permalink
graph/load: add build tags to fix make cross
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Staretu <[email protected]>
  • Loading branch information
unclejack committed Nov 25, 2014
1 parent f6d9780 commit 2ec2237
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions graph/load.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build linux

package graph

import (
Expand Down
11 changes: 11 additions & 0 deletions graph/load_unsupported.go
Original file line number Diff line number Diff line change
@@ -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")
}

0 comments on commit 2ec2237

Please sign in to comment.