We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b393cf + 265ad47 commit cbafb5fCopy full SHA for cbafb5f
glance/common/utils.py
@@ -732,5 +732,9 @@ def get_store_weight(location):
732
return 0
733
734
sorted_locations = sorted(locations, key=get_store_weight, reverse=True)
735
- LOG.debug(('Sorted locations: %s'), sorted_locations)
+ scrubbed = []
736
+ for loc in sorted_locations:
737
+ scrubbed.append({'store_name': loc["metadata"].get("store")})
738
+
739
+ LOG.debug(('Sorted locations: %s'), scrubbed)
740
return sorted_locations
0 commit comments