HomeClusterLabs Projects

Refactor: functionize numeric comparisons of strings

Description

Refactor: functionize numeric comparisons of strings

This moves the guts of sort_node_uname() from libpe_status to a new function,
pcmk_numeric_strcasecmp(), in libcrmcommon, so it can be used with strings and
not just pe_node_t objects.

Details

Provenance
kgaillotAuthored on Jul 2 2020, 12:51 PM
Parents
rPe01a1178fd8f: Feature: controller: add new IPC API command for getting node list
Branches
Unknown
Tags
Unknown

Event Timeline