mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
parent
bcfd7fbbcf
commit
7ffc162ea8
@ -3213,6 +3213,9 @@ func queueReplicationHeal(ctx context.Context, bucket string, oi ObjectInfo, rcf
|
||||
return roi
|
||||
}
|
||||
|
||||
if isVeeamSOSAPIObject(oi.Name) {
|
||||
return roi
|
||||
}
|
||||
if rcfg.Config == nil || rcfg.remotes == nil {
|
||||
return roi
|
||||
}
|
||||
|
@ -117,6 +117,15 @@ const (
|
||||
capacityXMLObject = ".system-d26a9498-cb7c-4a87-a44a-8ae204f5ba6c/capacity.xml"
|
||||
)
|
||||
|
||||
func isVeeamSOSAPIObject(object string) bool {
|
||||
switch object {
|
||||
case systemXMLObject, capacityXMLObject:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
func veeamSOSAPIHeadObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
|
||||
gr, err := veeamSOSAPIGetObject(ctx, bucket, object, nil, opts)
|
||||
if gr != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user