HomeClusterLabs Projects

Refactor: libcrmcommon: consolidate create_request() "from" arguments

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: libcrmcommon: consolidate create_request() "from" arguments

create_request() adds a sender system to the new request. Most callers passed
only the sys_from argument, which would be used as-is. If the caller passed
both sys_from and uuid_from, create_request() would combine the two.

Now, have the callers create the sender ID when needed. This simplifies a
confusing function signature and eliminates an unnecessary string duplication
in the common case.

This breaks API backward compatibility (but the interfaces will be dropped
shortly anyway).

Details

Provenance
kgaillotAuthored on Jul 11 2024, 10:10 PM

Commit No Longer Exists

This commit no longer exists in the repository.