Skip to content

Commit

Permalink
Fix for TSA-TSB service script
Browse files Browse the repository at this point in the history
Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
  • Loading branch information
saksarav-nokia committed Apr 18, 2024
1 parent ce110fb commit ef8607f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/scripts/startup_tsa_tsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ def get_tsa_config(asic_ns):
def get_tsa_status(num_asics):
if num_asics > 1:
counter = 0
for asic_id in range(int(asic_num)):
for asic_id in range(int(num_asics)):
asic_ns = 'asic{}'.format(asic_id)
sub_role = get_sub_role(asic_ns)
if sub_role == 'FrontEnd':
tsa_enabled = get_tsa_config(asic_ns)
if tsa_enabled == 'false':
counter += 1
if counter == int(asic_num):
if counter == int(num_asics):
return True;
else:
tsa_enabled = get_tsa_config("")
Expand Down

0 comments on commit ef8607f

Please sign in to comment.