lib/pull: Fix capitalisation in binding verification error messages
authorPhilip Withnall <withnall@endlessm.com>
Mon, 20 Nov 2017 12:50:16 +0000 (12:50 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 14 Dec 2017 14:18:44 +0000 (14:18 +0000)
Make them suitable for output from fsck.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1347
Approved by: cgwalters

src/libostree/ostree-repo-pull.c

index 42d802b2798a8de316d6f61409a2625bc2e7a3ce..4de2e8f3ad7a6e5b44b3dd6293f84f3d1d8bd7fe 100644 (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);