diff options
author | Greg Becker <becker33@llnl.gov> | 2020-12-23 20:29:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 20:29:38 -0800 |
commit | 6947951aaf9954b1dfd12ca7a9266d7335f07105 (patch) | |
tree | 62e9c3800609143b366711072dcf192ce7eca8f9 /var | |
parent | 91e86f9d0d2d417486fbb95b519355667e0fbf2c (diff) | |
download | spack-6947951aaf9954b1dfd12ca7a9266d7335f07105.tar.gz spack-6947951aaf9954b1dfd12ca7a9266d7335f07105.tar.bz2 spack-6947951aaf9954b1dfd12ca7a9266d7335f07105.tar.xz spack-6947951aaf9954b1dfd12ca7a9266d7335f07105.zip |
bugfix: do not write empty default dicts/lists in envs (#20526)
Environment yaml files should not have default values written to them.
To accomplish this, we change the validator to not add the default values to yaml. We rely on the code to set defaults for all values (and use defaulting getters like dict.get(key, default)).
Includes regression test.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions