mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #10380 from ioito/hotfix/qx-bucket-delete-tooltip
fix: add bucket tooltip
This commit is contained in:
+2734
-2703
File diff suppressed because it is too large
Load Diff
+922
-826
File diff suppressed because it is too large
Load Diff
@@ -1196,7 +1196,7 @@ func (bucket *SBucket) ValidateDeleteCondition(ctx context.Context) error {
|
||||
return bucket.SSharableVirtualResourceBase.ValidateDeleteCondition(ctx)
|
||||
}
|
||||
if bucket.ObjectCnt > 0 {
|
||||
return httperrors.NewNotEmptyError("not an empty bucket")
|
||||
return httperrors.NewNotEmptyError("Buckets that are not empty do not support this operation")
|
||||
}
|
||||
return bucket.ValidatePurgeCondition(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user