-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Error Calling DNS#QOUTAS #1650
Copy link
Copy link
Closed
Labels
api: dnsIssues related to the Cloud DNS API.Issues related to the Cloud DNS API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Metadata
Metadata
Assignees
Labels
api: dnsIssues related to the Cloud DNS API.Issues related to the Cloud DNS API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When I tried to call the
dns.qoutasmethod, I got the following errors.On introspection, it turns out that the error stems from the attempt to cast the
valueswithin thequotadictionary as an integer, specifically this call:int(value)where some of the values are not strings. Except it breaks the client somewhere else, I don't see how what purpose the casting serves in the first place.Here's a snippet of the return value from the function call: