Page MenuHomeClusterLabs Projects

Allow NULL output arguments in pcmk__parse_ll_range()
Open (Work In Progress), WishlistPublic

Assigned To
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)".
nrwahl2 changed the task status from Open to WIP.Sat, Aug 9, 1:45 AM
nrwahl2 claimed this task.