Show More
@@ -79,7 +79,12 b' class OidHandler(object):' | |||
|
79 | 79 | # verify if we have the OID before, if we do, reply with empty |
|
80 | 80 | if store.has_oid(): |
|
81 | 81 | log.debug('LFS: store already has oid %s', store.oid) |
|
82 | if skip_existing: | |
|
82 | ||
|
83 | # validate size | |
|
84 | size_match = store.size_oid() == self.obj_size | |
|
85 | if not size_match: | |
|
86 | log.warning('LFS: size mismatch for oid:%s', self.oid) | |
|
87 | elif skip_existing: | |
|
83 | 88 | log.debug('LFS: skipping further action as oid is existing') |
|
84 | 89 | return response, has_errors |
|
85 | 90 |
General Comments 0
You need to be logged in to leave comments.
Login now