From e9ca25fa39a112cc1a376388ab47a4e1b3ea746c Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 18 May 2021 18:08:05 +0300 Subject: [PATCH] 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 --- google/auth/iam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/auth/iam.py b/google/auth/iam.py index 5e88a0435..5d63dc5d8 100644 --- a/google/auth/iam.py +++ b/google/auth/iam.py @@ -79,7 +79,7 @@ def _make_signing_request(self, message): if response.status != http_client.OK: raise exceptions.TransportError( - "Error calling the IAM signBytes API: {}".format(response.data) + "Error calling the IAM signBlob API: {}".format(response.data) ) return json.loads(response.data.decode("utf-8"))