HomeClusterLabs Projects
Diffusion Booth 81deba27f783

Refactor: get rid of local and no_leader and global variables
81deba27f783Unpublished

Unpublished Commit · Learn More

  • Repository Importing: This repository is still importing.
  • Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: get rid of local and no_leader and global variables

Thanks to the change with the former, attaching it to the now de facto
generalized "context" in struct booth_config being passed around, we
can now simplify find_myself (both underscore-prefixed and plain) so
that no extra outbound argument propagation is needed (argument is
dropped).

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Feb 4 2020, 5:25 PM
Parents
rBde4cefd0ddf1: Refactor: get rid of poll_timeout global variable
Branches
Unknown
Tags
Unknown

Event Timeline