-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
job: Change setPXEFilename -> getPXEFilename
This way its easier to test since its side effect free. I was getting a panic when trying to rework the not-our-ipxe case for an unknown machine because it would try to call j.Error(). This is just better code. Signed-off-by: Manuel Mendez <mmendez@equinix.com>
- Loading branch information
Showing
2 changed files
with
11 additions
and
20 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