Fix bug in the logging metering errors

This line is result in errors UnboundLocalError: local variable 'identity' referenced before assignment

The actual exception arises from using the ORM object ClientIdentityEntry as the client identity here, which can be fixed by replacing the usage with buildgrid._protos.buildgrid.v2.ClientIdentity in a further MR

Edited by Shivam Bairoliya

Merge request reports

Loading