lib/pull: Fix capitalisation in binding verification error messages

Make them suitable for output from fsck.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Closes: #1347
Approved by: cgwalters
This commit is contained in:
Philip Withnall authored and Atomic Bot committed 2017-12-14 14:18:44 +00:00
1 parent 1b7d83114e
commit 609bd4748e
1 file changed
+4 -4
+4 -4
View File
@@ -1525,7 +1525,7 @@ _ostree_repo_verify_bindings (const char *collection_id,
return TRUE;
return glnx_throw (error,
"expected commit metadata to have ref "
"Expected commit metadata to have ref "
"binding information, found none");
}
@@ -1554,7 +1554,7 @@ _ostree_repo_verify_bindings (const char *collection_id,
refs_str = "no refs";
}
return glnx_throw (error, "commit has no requested ref ‘%s’ "
return glnx_throw (error, "Commit has no requested ref ‘%s’ "
"in ref binding metadata (%s)",
ref_name, refs_str);
}
@@ -1569,11 +1569,11 @@ _ostree_repo_verify_bindings (const char *collection_id,
"&s",
&collection_id_binding))
return glnx_throw (error,
"expected commit metadata to have collection ID "
"Expected commit metadata to have collection ID "
"binding information, found none");
if (!g_str_equal (collection_id_binding, collection_id))
return glnx_throw (error,
"commit has collection ID ‘%s’ in collection binding "
"Commit has collection ID ‘%s’ in collection binding "
"metadata, while the remote it came from has "
"collection ID ‘%s’",
collection_id_binding, collection_id);