Merge pull request #2231 from cgwalters/some-nullable-annotations

deployment: Ensure query_deployments_for returns nullable values
This commit is contained in:
OpenShift Merge Robot 2020-11-12 03:01:22 +01:00 committed by GitHub
commit aa0b5b08cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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