Loading src/device/service/drivers/gnmi_openconfig/GnmiSessionHandler.py +2 −2 Original line number Diff line number Diff line Loading @@ -296,8 +296,8 @@ class GnmiSessionHandler: obj[k] = 'UP' if v_lower == 'true' else 'DOWN' changed += 1 else: # For other fields, convert string boolean to actual boolean obj[k] = (v_lower == 'true') # For other fields, keep as string enum to avoid YANG validation errors # Don't convert to boolean - keep as "true"/"false" strings changed += 1 elif isinstance(obj, list): for item in obj: Loading Loading
src/device/service/drivers/gnmi_openconfig/GnmiSessionHandler.py +2 −2 Original line number Diff line number Diff line Loading @@ -296,8 +296,8 @@ class GnmiSessionHandler: obj[k] = 'UP' if v_lower == 'true' else 'DOWN' changed += 1 else: # For other fields, convert string boolean to actual boolean obj[k] = (v_lower == 'true') # For other fields, keep as string enum to avoid YANG validation errors # Don't convert to boolean - keep as "true"/"false" strings changed += 1 elif isinstance(obj, list): for item in obj: Loading