Fix logic in get_api_status method

Change-Id: I9650c8378e6203f84727df84565737bca2858212
Related-PROD: PROD-26266
1 file changed