create_brick_ota: logic fix

ota_metadata should be initialized outside of the if block.

Bug: 3072303
Test: th
Change-Id: Iabe52be3557c71921586d960d8a8a91c33d5558b
This commit is contained in:
Daniel Zheng 2024-05-02 09:54:26 -07:00
parent 563a2f62c5
commit 7e4cc58f2d