Skip to content

Commit

Permalink
Make sure we do have an actual setfile
Browse files Browse the repository at this point in the history
We are not expecting to have a nil result from ::os_release_to_setfile,
but better safe than sorry.
  • Loading branch information
smortex committed Aug 9, 2021
1 parent 7d8a6fb commit deac3b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/puppet_metadata/github_actions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def github_action_test_matrix(use_fqdn: false, pidfile_workaround: false)
next unless AIO.has_aio_build?(os, release, puppet_version[:value])

setfile = PuppetMetadata::Beaker.os_release_to_setfile(os, release, use_fqdn: use_fqdn, pidfile_workaround: pidfile_workaround)
next unless setfile

matrix_include << {
setfile: {
name: setfile[1],
Expand Down

0 comments on commit deac3b6

Please sign in to comment.