diff options
author | Colin Walters <walters@verbum.org> | 2020-11-06 19:24:58 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2020-11-11 22:01:39 +0000 |
commit | 8fbf2c5b807b2e582986492d6abf18eb750b95aa (patch) | |
tree | 1653be2464d16714a377b6667984b93b2267fcd8 | |
parent | c48e7e10605954c784ec63ddcc61c3797fc538f4 (diff) | |
download | ostree-8fbf2c5b807b2e582986492d6abf18eb750b95aa.tar.gz |
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.
-rw-r--r-- | src/libostree/ostree-sysroot.c | 4 |
1 files 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 |