commit | e69b78df6fc48a1e70c180d3878164e416adbbdd | [log] [tgz] |
---|---|---|
author | Ian Wienand <iwienand@redhat.com> | Tue Sep 24 12:51:25 2019 +1000 |
committer | Dr. Jens Harbott <harbott@osism.tech> | Fri Oct 07 11:47:17 2022 +0200 |
tree | 1fda96ac91e80e1d30c64c7e463184b49ed64b3b | |
parent | e3bc6b5f571a5b291617ee5227c153002ef8d9c3 [diff] |
Simplify role addtion helper functions Because adding the role is idempotent, we can save doing the initial check for role assignment. Also simplify the output matching by using osc's filters where appropriate. Co-Authored-By: Jens Harbott <harbott@osism.tech> Change-Id: If2a661cc565a43a7821b8f0a10edd97de08eb911