Skip to content

Commit e9ca25f

Browse files
authored
fix: fix function name in signing error message (#751)
The name of the API is `signBlob`, not `signBytes`. See https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/signBlob
1 parent b2c179e commit e9ca25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/auth/iam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _make_signing_request(self, message):
7979

8080
if response.status != http_client.OK:
8181
raise exceptions.TransportError(
82-
"Error calling the IAM signBytes API: {}".format(response.data)
82+
"Error calling the IAM signBlob API: {}".format(response.data)
8383
)
8484

8585
return json.loads(response.data.decode("utf-8"))

0 commit comments

Comments
 (0)