Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph-osd: Fix crush_rules.yml in check mode
Set a default value for `item.stdout` before passing it to `from_json()`. The `when` condition doesn't prevent this template from being evaluated in check mode, so it fails if `item.stdout` doesn't contain a valid JSON string. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> (cherry picked from commit ef05e9a)
- Loading branch information