mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-06 11:22:26 +02:00
Merge branch '385-libpmodules-ignore-new-keys-in-overlay-config-file-2' into '1.1.22'
Resolve "libpmodules: ignore new keys in overlay config file" See merge request Pmodules/src!411
This commit is contained in:
@@ -262,9 +262,10 @@ pm::read_config(){
|
||||
OverlayInfo[${ol_name}:modulepath]=$(${envsubst} <<< "${modulepath%:}")
|
||||
;;
|
||||
* )
|
||||
std::die 3 "%s -- %s\n%s" \
|
||||
"Invalid key in configuration" \
|
||||
"${key}" "${yaml_input}"
|
||||
[[ -v OverlayConfigKeys[${key}] ]] || \
|
||||
std::die 3 "%s -- %s\n%s" \
|
||||
"Invalid key in configuration" \
|
||||
"${key}" "${yaml_input}"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user