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;
|
||||
|
||||
result = _ostree_repo_verify_commit_internal (pull_data->repo,
|
||||
checksum,
|
||||
pull_data->remote_name,
|
||||
NULL,
|
||||
NULL,
|
||||
cancellable,
|
||||
error);
|
||||
result = ostree_repo_verify_commit_for_remote (pull_data->repo,
|
||||
checksum,
|
||||
pull_data->remote_name,
|
||||
cancellable,
|
||||
error);
|
||||
|
||||
if (result == NULL)
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Reference in New Issue