Commit 64b0425b authored by Hilal Ozdemir's avatar Hilal Ozdemir

add docstring to method

parent 8a142b3f
......@@ -399,6 +399,12 @@ class DockerUtil: # pylint: disable=too-many-instance-attributes
return layers
async def ensure_diffid_mapped(self, diffid: str):
Ensures that given diff id has been mapped
diffid (string)
# self.diffid_mapping = keys: diffid, values: chain-id
# self.layerdb_mapping = keys: diffid, values: digest
if diffid in self.diffid_mapping and diffid in self.layerdb_mapping:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment