commit 8e38e214ed2ef770ee9c34c854fe809e1ac0fbb0
Author: Alex Schultz <email address hidden>
Date: Thu Jan 3 12:06:36 2019 -0700
Improve error message around hieradata override file
If the file specified is empty, we currently throw a generic message
about it not being in the correct format. Let's add a check to make sure
the file is not empty before attempting to parse it as yaml.
Change-Id: I702da1170484c0d10c3ae836ec3f7550975a341c
Closes-Bug: #1810436
(cherry picked from commit 8ddcc2cd145451335a90b6816c8110c65dc73998)
Reviewed: https:/ /review. openstack. org/633548 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=8e38e214ed2 ef770ee9c34c854 fe809e1ac0fbb0
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 8e38e214ed2ef77 0ee9c34c854fe80 9e1ac0fbb0
Author: Alex Schultz <email address hidden>
Date: Thu Jan 3 12:06:36 2019 -0700
Improve error message around hieradata override file
If the file specified is empty, we currently throw a generic message
about it not being in the correct format. Let's add a check to make sure
the file is not empty before attempting to parse it as yaml.
Change-Id: I702da1170484c0 d10c3ae836ec3f7 550975a341c 35a90b6816c8110 c65dc73998)
Closes-Bug: #1810436
(cherry picked from commit 8ddcc2cd1454513