HomeClusterLabs Projects

Refactor: fencer: create reply inside API request handling

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

Description

Refactor: fencer: create reply inside API request handling

Previously, handle_request() would set need_reply to true or false when
handling the request, then create and send the reply if needed at the end.

Now, the reply is created when handling the request if needed, and the reply is
sent at the end if reply is not NULL.

This creates a small amount of code duplication but will make planned
refactoring easier.

Details

Provenance
kgaillotAuthored on Feb 7 2022, 5:49 PM

Commit No Longer Exists

This commit no longer exists in the repository.