8000 Cannot resize to 0 instances · Issue #12 · googleapis/python-compute · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.
This repository was archived by the owner on Dec 31, 2023. It is now read-only.
Cannot resize to 0 instances #12
Closed
@igor-solomatov

Description

@igor-solomatov

Hi All,

If target size of the region instance group is 0, resize fails with bad request, since ?size=0 parameter is removed

The following check should be if v is not None currently it is if v and 0 equals to False in Python.

"{k}={v}".format(k=k, v=v) for k, v in query_params.items() if v

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: computeIssues related to the googleapis/python-compute API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0