diff --git a/sonic-chassisd/scripts/chassisd b/sonic-chassisd/scripts/chassisd index 2dbc9e325..2023502cc 100755 --- a/sonic-chassisd/scripts/chassisd +++ b/sonic-chassisd/scripts/chassisd @@ -515,6 +515,7 @@ class ModuleUpdater(logger.Logger): local lagid = redis.call('HGET', 'SYSTEM_LAG_ID_TABLE', lagname)\n\ redis.call('SREM', 'SYSTEM_LAG_ID_SET', lagid)\n\ redis.call('HDEL', 'SYSTEM_LAG_ID_TABLE', lagname)\n\ + redis.call('rpush', 'SYSTEM_LAG_IDS_FREE_LIST', lagid)\n\ end\n\ end\n\ return"