data_cloud: remove logger check

Per https://github.com/iterative/dvc/pull/7961/files#r913635687
This commit is contained in:
Ruslan Kuprieiev
2022-07-05 13:22:23 +03:00
committed by GitHub
parent 954de0cae4
commit eed6a8483c
+1 -1
View File
@@ -64,7 +64,7 @@ class DataCloud:
return get_odb(cls(**config), fs_path, **config)
def _log_missing(self, status: "CompareStatusResult"):
if status.missing and logger.isEnabledFor(logging.WARNING):
if status.missing:
missing_desc = "\n".join(
f"name: {hash_info.obj_name}, {hash_info}"
for hash_info in status.missing