pull: Use new per-remote API for GPG verification
Trivial change, but makes things more obvious. And we get test coverage of the new API for free. Closes: #589 Approved by: jlebon
This commit is contained in:
parent
abbd7acaf3
commit
cb57338a12
|
|
@ -1070,13 +1070,11 @@ scan_commit_object (OtPullData *pull_data,
|
||||||
{
|
{
|
||||||
glnx_unref_object OstreeGpgVerifyResult *result = NULL;
|
glnx_unref_object OstreeGpgVerifyResult *result = NULL;
|
||||||
|
|
||||||
result = _ostree_repo_verify_commit_internal (pull_data->repo,
|
result = ostree_repo_verify_commit_for_remote (pull_data->repo,
|
||||||
checksum,
|
checksum,
|
||||||
pull_data->remote_name,
|
pull_data->remote_name,
|
||||||
NULL,
|
cancellable,
|
||||||
NULL,
|
error);
|
||||||
cancellable,
|
|
||||||
error);
|
|
||||||
|
|
||||||
if (result == NULL)
|
if (result == NULL)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue