repo: Fix the skip-summary-if-summary.sig-is-same cache

This code was always downloading the summary even for a cache hit due
to a missing else.
This commit is contained in:
Alexander Larsson 2016-03-15 12:04:43 +01:00
parent 2bb25a05b0
commit 9b919c8dd2
1 changed files with 1 additions and 0 deletions

View File

@ -1803,6 +1803,7 @@ repo_remote_fetch_summary (OstreeRepo *self,
if (*out_summary) if (*out_summary)
from_cache = TRUE; from_cache = TRUE;
else
{ {
if (!_ostree_preload_metadata_file (self, if (!_ostree_preload_metadata_file (self,
fetcher, fetcher,