Skip to content

Commit

Permalink
make sure object_id in flush_cache is always string
Browse files Browse the repository at this point in the history
  • Loading branch information
midnightercz committed Apr 2, 2020
1 parent e2b8159 commit 4cfbf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubtools/_pulp/ud.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _on_failure(self, object_type, object_id, exception):

def _flush_object(self, object_type, object_id):
url = os.path.join(
self._url, "internal/rcm/flush-cache", object_type, object_id
self._url, "internal/rcm/flush-cache", object_type, str(object_id)
)

LOG.info("Invalidating %s %s", object_type, object_id)
Expand Down

0 comments on commit 4cfbf70

Please sign in to comment.