def _put_upload(
self,
image,
digest
):
mounted, location = self._start_upload(digest, self._mount)
if mounted:
logging.info('Layer %s mounted.', digest)
return
location = self._add_digest(location, digest)
self._transport.Request(
location, method='PUT', body=image.blob(digest),
accepted_codes=[httplib.CREATED])
评论列表
文章目录