)]}'
{"devstack/lib/ironic":[{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f4701f0aada0386ab3568ab42adf4fa2aba2d4a8","unresolved":false,"context_lines":[{"line_number":204,"context_line":"IRONIC_DEFAULT_RESOURCE_CLASS\u003d${IRONIC_DEFAULT_RESOURCE_CLASS:-baremetal}"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"# Set traits for nodes. Traits should be separated by whitespace."},{"line_number":207,"context_line":"IRONIC_DEFAULT_TRAITS\u003d${IRONIC_DEFAULT_TRAITS-CUSTOM_GOLD}"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"# Whether to build the ramdisk or download a prebuilt one."},{"line_number":210,"context_line":"IRONIC_BUILD_DEPLOY_RAMDISK\u003d$(trueorfalse True IRONIC_BUILD_DEPLOY_RAMDISK)"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"df7087c5_503209a9","line":207,"range":{"start_line":207,"start_character":45,"end_line":207,"end_character":46},"updated":"2018-03-12 11:55:28.000000000","message":"s/-/:-","commit_id":"6015890adee55582330256bc10e933cba0b84cc9"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"1797b0b406d0d76ecb0d509e4b100f2e6f0f3cdb","unresolved":false,"context_lines":[{"line_number":204,"context_line":"IRONIC_DEFAULT_RESOURCE_CLASS\u003d${IRONIC_DEFAULT_RESOURCE_CLASS:-baremetal}"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"# Set traits for nodes. Traits should be separated by whitespace."},{"line_number":207,"context_line":"IRONIC_DEFAULT_TRAITS\u003d${IRONIC_DEFAULT_TRAITS-CUSTOM_GOLD}"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"# Whether to build the ramdisk or download a prebuilt one."},{"line_number":210,"context_line":"IRONIC_BUILD_DEPLOY_RAMDISK\u003d$(trueorfalse True IRONIC_BUILD_DEPLOY_RAMDISK)"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"df7087c5_d0d619c4","line":207,"range":{"start_line":207,"start_character":45,"end_line":207,"end_character":46},"in_reply_to":"df7087c5_503209a9","updated":"2018-03-12 12:11:03.000000000","message":"There is a slight difference between these two:\n\n$ y\u003d\n$ x\u003d${y-unset}\n$ echo $x\n\n$ x\u003d${y:-unset}\n$ echo $x\nunset\n\nThis means we can set IRONIC_DEFAULT_TRAITS\u003d and not get the default of CUSTOM_GOLD.\n\nSee https://www.tldp.org/LDP/abs/html/parameter-substitution.html.","commit_id":"6015890adee55582330256bc10e933cba0b84cc9"}]}
