mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-16 12:40:20 +00:00
fix: add option to disable asset storage (#1878)
* fix: add no storage option * improve error handling
This commit is contained in:
@@ -129,9 +129,6 @@ func (m *LabelPolicy) OnSuccess() error {
|
||||
}
|
||||
|
||||
func (p *LabelPolicy) CleanUpBucket(policy *iam_model.LabelPolicyView) {
|
||||
if p.static == nil {
|
||||
return
|
||||
}
|
||||
ctx := context.Background()
|
||||
objects, err := p.static.ListObjectInfos(ctx, policy.AggregateID, domain.LabelPolicyPrefix+"/", false)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user