Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert find_boot_mnt_point() to use argument instead of %FAI::configs
old function signature: my $boot_mnt_point = find_boot_mnt_point(); new function signature: my $boot_mnt_point = find_boot_mnt_point(%FAI::config); This change does not change the actual functionality. Providing the configuration via a function argument makes it possible to get rid of the global variable %FAI::configs later on. As an immediate benefit it is now obvious that find_boot_mnt_point() uses the data stored in %FAI::configs to find the boot device.
- Loading branch information
Thomas Neumann
authored and
Thomas Lange
committed
Sep 9, 2015
1 parent
e8a8041
commit 0b1f2f9
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters