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

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

Activity

  1. added a commit that references this issue on Feb 2, 2021
  2. added
    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.
    and removed
    triage meI really want to be triaged.
    on Feb 3, 2021
  3. added
    🚨This issue needs some love.
    and removed
    🚨This issue needs some love.
    on May 5, 2021
  4. parthea commented on Jun 17, 2021

    @parthea
    Contributor

    @yon-mg PTAL

  5. vchudnov-g commented on Jul 14, 2021

    @vchudnov-g
    Contributor

    A fix for this is forthcoming

  6. busunkim96 commented on Aug 2, 2021

    @busunkim96
    Contributor

    @vchudnov-g Has this been addressed? (Just checking as the issue is now OOSLO)

  7. busunkim96 commented on Aug 5, 2021

    @busunkim96
    Contributor

    Update: @vam-google confirmed a fix has landed in the generator. I am working on re-generating the library right now.

  8. added a commit that references this issue on Aug 9, 2021
    4d673cf
  9. busunkim96 commented on Aug 9, 2021

    @busunkim96
    Contributor

    This should be fixed in the latest release google-cloud-compute==0.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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