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:
Colin Walters 2016-11-18 20:23:13 -05:00 committed by Atomic Bot
parent abbd7acaf3
commit cb57338a12
1 changed files with 5 additions and 7 deletions

View File

@ -1070,11 +1070,9 @@ scan_commit_object (OtPullData *pull_data,
{
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,
pull_data->remote_name,
NULL,
NULL,
cancellable,
error);