Skip to content

Conversation

@nookala
Copy link
Contributor

@nookala nookala commented May 5, 2025

Compare the space id instead of name for route transfer

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:
    Given org org1 with space space org org2 with space space:

cf push dora with no manifest (so default-route is used)
cf move-route thawing.app-runtime-interfaces.ci.cloudfoundry.org --hostname dora -o org2 -s space
this will return OK, thinking the spaces are equal, though it wont actually be moved
The fix compares the space ids instead of the name so that the move-route actually works in this case.

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

…er space

Compare the space id instead of name for route transfer
@philippthun philippthun merged commit 74a14bb into cloudfoundry:main May 8, 2025
12 checks passed
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request May 8, 2025
Changes in cloud_controller_ng:

- Can't move routes to other orgs if the space has the same name as owner space
    PR: cloudfoundry/cloud_controller_ng#4341
    Author: Sriram Nookala <snookala@vmware.com>
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request May 8, 2025
Changes in cloud_controller_ng:

- Fix typo in sample response JSON in API docs
    PR: cloudfoundry/cloud_controller_ng#4345
    Author: Rashid Rashidov <rrashidov@gmail.com>

- Can't move routes to other orgs if the space has the same name as owner space
    PR: cloudfoundry/cloud_controller_ng#4341
    Author: Sriram Nookala <snookala@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants