Magento2 default behaviour is if Default option of bundle product is
not in stock, system should check for second option and set that option as a
default and bundle product should stay as in-stock.
I want to change that if default optiion is out of stock then bundle
product is also show as out of stock.
How can I achieve that?