mirror of
https://github.com/distribution/distribution.git
synced 2025-09-14 14:19:02 +00:00
s3: add interface assertion
This was added for the other drivers in 6b388b1ba6
,
but it missed the s3 storage driver.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -151,6 +151,8 @@ func (factory *s3DriverFactory) Create(parameters map[string]interface{}) (stora
|
|||||||
return FromParameters(parameters)
|
return FromParameters(parameters)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var _ storagedriver.StorageDriver = &driver{}
|
||||||
|
|
||||||
type driver struct {
|
type driver struct {
|
||||||
S3 *s3.S3
|
S3 *s3.S3
|
||||||
Bucket string
|
Bucket string
|
||||||
|
Reference in New Issue
Block a user