Modify storage bucket service to include NormalizeStorageBucketData (#5590)
NormalizeStorageBucketData normalizes a given's storage bucket attributes before persisting. Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com>
This commit is contained in:
1 parent
70cdd3823c
commit
2ed3430069
6 files changed
+626
-340
No files matched your search
@@ -104,6 +104,7 @@ func NewLoopbackPlugin(opt ...TestOption) (*LoopbackPlugin, error) {
|
||||
ret.ListHostsFn = ret.listHosts
|
||||
|
||||
// Set storage methods
|
||||
ret.NormalizeStorageBucketDataFn = ret.normalizeStorageBucketData
|
||||
ret.OnCreateStorageBucketFn = ret.onCreateStorageBucket
|
||||
ret.OnUpdateStorageBucketFn = ret.onUpdateStorageBucket
|
||||
ret.OnDeleteStorageBucketFn = ret.onDeleteStorageBucket
|
||||
|
||||
Reference in new issue
Block a user