From 8fbf2c5b807b2e582986492d6abf18eb750b95aa Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 6 Nov 2020 19:24:58 +0000 Subject: [PATCH] deployment: Ensure query_deployments_for returns nullable values Since that's a common case; hit this while working on rpm-ostree code using the ostree-rs bindings. --- src/libostree/ostree-sysroot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c index 95c19816..e3d7e425 100644 --- a/src/libostree/ostree-sysroot.c +++ b/src/libostree/ostree-sysroot.c @@ -1428,8 +1428,8 @@ _ostree_sysroot_join_lines (GPtrArray *lines) * ostree_sysroot_query_deployments_for: * @self: Sysroot * @osname: (allow-none): "stateroot" name - * @out_pending: (out) (allow-none) (transfer full): The pending deployment - * @out_rollback: (out) (allow-none) (transfer full): The rollback deployment + * @out_pending: (out) (nullable) (optional) (transfer full): The pending deployment + * @out_rollback: (out) (nullable) (optional) (transfer full): The rollback deployment * * Find the pending and rollback deployments for @osname. Pass %NULL for @osname * to use the booted deployment's osname. By default, pending deployment is the