-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/osbuild: clean up genMountsForBootupd
Instead of the if statement, I switched to switch (pun absolutely intended). Also, I fixed the error message, previously it always printed type <nil>, because mnt is set to nil, if ok == false.
- Loading branch information
1 parent
9316652
commit 8373145
Showing
2 changed files
with
25 additions
and
11 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
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