Skip to content

Use guard in fetch_legacy_config

John Cai requested to merge jc-fix-gitlab-config-legacy-config into master

Return the default value if nil. This fixes a failure in the qa nightly build because missing values in a yaml file will return nil instead of default, since fetch(key, default) will only return the default if the key doesn't exist. If the key exists but there is no value, nil will be returned.

Edited by GitLab Release Tools Bot

Merge request reports