This repository has been archived by the owner on Dec 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added nil check for empty lists in Ignition Config builders
Added unit test for Ignition Config testing builders If we pass an empty list down into any of the Ignition Config units (disk, raid, filesystem, file, systemd unit, networkd unit, user, group), the build function for the unit will panic as list will contain nill interfaces (for each empty list passed in). Signed-off-by: Ken Herner <ken@astronomer.io>
- Loading branch information
Ken Herner
committed
Aug 8, 2017
1 parent
5b30c2e
commit 0178c5b
Showing
2 changed files
with
255 additions
and
2 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