Ensure that rados is disabled without build tag
This ensures that rados is not required when building the registry. This was slightly tricky in that when the flags were applied, the rados package was completely missing. This led to a problem where rados was basically unlistable and untestable as a package. This was fixed by simply adding a doc.go file that is included whether rados is built or not. Signed-off-by: Stephen J Day <stephen.day@docker.com>master
							parent
							
								
									d796729b6b
								
							
						
					
					
						commit
						f9e152d912
					
				| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
// Package rados implements the rados storage driver backend. Support can be
 | 
			
		||||
// enabled by including the "include_rados" build tag.
 | 
			
		||||
package rados
 | 
			
		||||
| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
// +build include_rados
 | 
			
		||||
 | 
			
		||||
package rados
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
// +build include_rados
 | 
			
		||||
 | 
			
		||||
package rados
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue