@ -43,5 +43,5 @@ type FilerStore interface {
type BucketAware interface {
OnBucketCreation(bucket string)
OnBucketDeletion(bucket string)
IsDropBucketAltogether() bool
CanDropWholeBucket() bool
}
@ -45,7 +45,7 @@ func NewFilerStoreWrapper(store FilerStore) *FilerStoreWrapper {
func (fsw *FilerStoreWrapper) CanDropWholeBucket() bool {
if ba, ok := fsw.defaultStore.(BucketAware); ok {
return ba.IsDropBucketAltogether()
return ba.CanDropWholeBucket()
return false