Allow minor errors on destination disks

Addresses issue #28
This commit is contained in:
2Shirt 2022-07-10 16:10:46 -07:00
parent 7162c8e660
commit 54f6b8f9ae
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -1032,7 +1032,7 @@ class State():
)
# Check for minor errors
if not check_attributes(self.destination, only_blocking=False):
if not check_attributes(self.destination, only_blocking=True):
std.print_warning(
f'Attribute error(s) detected for: {self.destination.path}',
)
@ -1602,7 +1602,7 @@ def check_destination_health(destination):
result = 'Critical error(s) detected for: {destination.path}'
# Check for minor errors
if not check_attributes(destination, only_blocking=False):
if not check_attributes(destination, only_blocking=True):
result = f'Attribute error(s) detected for: {destination.path}'
# Done