Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Added nil check for empty lists in Ignition Config builders #7

Merged
merged 1 commit into from
Aug 22, 2017

Commits on Aug 8, 2017

  1. 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>
    Ken Herner committed Aug 8, 2017
    Configuration menu
    Copy the full SHA
    0178c5b View commit details
    Browse the repository at this point in the history