Page MenuHomeClusterLabs Projects

Allow NULL output arguments in pcmk__parse_ll_range()
Open, WishlistPublic

Assigned To
None
Authored By
kgaillot
Sep 24 2024, 11:20 AM
Tags
  • Restricted Project
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

pcmk__parse_ll_range() currently asserts if start or end is NULL. Allow either or both to be NULL so the function can be used purely as a syntax validator (and to make static analysis happy). Note that scan_ll() already accepts NULL, so just the one function needs updating. Update the unit tests.

Event Timeline

kgaillot triaged this task as Wishlist priority.Sep 24 2024, 11:20 AM
kgaillot created this task.
kgaillot created this object with edit policy "Restricted Project (Project)".