From f204250675490a628aa57d5c6687092e61b26622 Mon Sep 17 00:00:00 2001 From: claire-peters Date: Thu, 22 Aug 2024 15:43:42 -0400 Subject: [PATCH] fix logging --- coldfront/plugins/sftocf/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coldfront/plugins/sftocf/utils.py b/coldfront/plugins/sftocf/utils.py index 426e48dfb..92ed49464 100644 --- a/coldfront/plugins/sftocf/utils.py +++ b/coldfront/plugins/sftocf/utils.py @@ -615,7 +615,7 @@ def allocationquerymatches(self): total_sort_key = itemgetter('path','volume') allocation_usage_grouped = return_dict_of_groupings(self.sf_usage_data, total_sort_key) missing_allocations = [ - (k,a) for k, a in allocation_usage_grouped if k not in allocation_list + (k,a) for k, a in allocation_usage_grouped if (a, k) not in allocation_list ] print("missing_allocations:", missing_allocations) logger.warning('starfish allocations missing in coldfront: %s', missing_allocations)