Monday, 2021-07-26

bshepharHey ricolin and ramishra: When you guys have some time, just looking for any additional feedback on: https://review.opendev.org/c/openstack/heat/+/79502305:25
ramishrabshephar: I think I had looked at it last week, qq,  why we so we need to worry about keys not in properties or extra_properties L334/L335?05:29
bshepharIt is a good question, pretty sure there was a reason I needed to do it twice because of the upper level for loop. But let me double check right now05:34
ramishraI think we should worry about keys in the resource and ignore the rest.. which would make it simple05:35
bshepharYeah, I'll change that now and make sure it still does the expected. 05:35
bshepharI think the other question you asked was why I can't just update image_reality directly. That was because it's a nested dictionary, so if I do that I only end up with one item in it each loop. 05:36
bshepharI think I left it there just because I needed a test for the elif to evaluate to match what we're looking for. For the previous two we look for location and image. Then for this one, we want to capture keys that aren't in the list, if they aren't in the list then we check the resource_data for them. 05:41
bshepharI could probably remove L335 05:42
opendevreviewBrendan Shephard proposed openstack/heat master: Allow arbitrary image properties  https://review.opendev.org/c/openstack/heat/+/79502306:16
bshepharramishra: ^ Still needs to evaluate the key to see if it's included in the glance_def_keys. If it's not in the list, then it's a key that is relevant to our extra_properties, so we begin a new for loop to create our extra_properties dict. Added a comment there as well since it's starting to get confusing06:18
*** ChanServ changes topic to "OpenStack Heat (Logs: http://eavesdrop.openstack.org/irclogs/%23heat/)"22:55

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!