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:
daniandDanielle Miu authored and GitHub committed 2025-03-14 14:49:23 +00:00
1 parent 70cdd3823c
commit 2ed3430069
6 files changed
+626 -340

No files matched your search

+1
View File
@@ -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