lib/fetcher-curl: Drop unnecessary check
`_ostree_fetcher_journal_failure()` already checks that we only log messages which have remotes. Closes: #1732 Approved by: cgwalters
This commit is contained in:
parent
8b2940aa13
commit
a88032a09e
|
|
@ -330,7 +330,6 @@ check_multi_info (OstreeFetcher *fetcher)
|
||||||
g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_FAILED, "[%u] %s",
|
g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_FAILED, "[%u] %s",
|
||||||
curlres,
|
curlres,
|
||||||
curl_easy_strerror (curlres));
|
curl_easy_strerror (curlres));
|
||||||
if (req->fetcher->remote_name)
|
|
||||||
_ostree_fetcher_journal_failure (req->fetcher->remote_name,
|
_ostree_fetcher_journal_failure (req->fetcher->remote_name,
|
||||||
eff_url, curl_easy_strerror (curlres));
|
eff_url, curl_easy_strerror (curlres));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue