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:
		
							parent
							
								
									f6d9780229
								
							
						
					
					
						commit
						2ec2237909
					
				
					 2 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
// +build linux
 | 
			
		||||
 | 
			
		||||
package graph
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										11
									
								
								graph/load_unsupported.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								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")
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue