Skip to content
This repository was archived by the owner on Mar 23, 2019. It is now read-only.

Commit 85430f9

Browse files
author
Chris Houseknecht
authored
Removes service level defaults from cache fingerprint (#695)
1 parent b64cdd4 commit 85430f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

container/core.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@ def conductorcmd_build(engine_name, project_name, services, cache=True, local_py
679679
"Failed to find image {}. Try `docker image pull {}`".format(service['from'])
680680
)
681681
# the fingerprint hash tracks cacheability
682-
service_defaults = json.dumps(service['defaults']) if service.get('defaults') else ''
683-
fingerprint_hash = hashlib.sha256('%s::%s' % (cur_image_id, service_defaults))
682+
fingerprint_hash = hashlib.sha256('%s::' % cur_image_id)
684683
logger.debug(u'Base fingerprint hash = %s', fingerprint_hash.hexdigest(),
685684
service=service_name, hash=fingerprint_hash.hexdigest())
686685
cache_busted = not cache

0 commit comments

Comments
 (0)