forked from TrueCloudLab/distribution
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>
This commit is contained in:
parent
d796729b6b
commit
f9e152d912
3 changed files with 7 additions and 0 deletions
3
docs/storage/driver/rados/doc.go
Normal file
3
docs/storage/driver/rados/doc.go
Normal file
|
@ -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 a new issue