forked from TrueCloudLab/distribution
s3: add interface assertion
This was added for the other drivers in6b388b1ba6
, but it missed the s3 storage driver. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit5b3be39870
) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
2548973b1d
commit
2d62a4027a
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ func (factory *s3DriverFactory) Create(parameters map[string]interface{}) (stora
|
|||
return FromParameters(parameters)
|
||||
}
|
||||
|
||||
var _ storagedriver.StorageDriver = &driver{}
|
||||
|
||||
type driver struct {
|
||||
S3 *s3.S3
|
||||
Bucket string
|
||||
|
|
Loading…
Reference in a new issue