Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid recreating gateway when locale service added #1517

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

annakhm
Copy link
Collaborator

@annakhm annakhm commented Jan 25, 2025

This change removes ForceNew from nsx_id attribute in locale service schema, in order to avoid recreating the gateway when locale service is added.
Without this fix, adding locale_service within the gateway would trigger recreation even when nsx_id is not specified, since nsx_is is defined as Computed.

Copy link
Member

@salv-orlando salv-orlando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ksamoray
Copy link
Collaborator

/test-all

2 similar comments
@ksamoray
Copy link
Collaborator

/test-all

@ksamoray
Copy link
Collaborator

/test-all

This change removes ForceNew from nsx_id attribute in locale service
schema, in order to avoid recreating the gateway when locale service
is added.
Without this fix, adding locale_service within the gateway would
trigger recreation even when nsx_id is not specified, since nsx_is is
defined as Computed.

Signed-off-by: Anna Khmelnitsky <[email protected]>
@annakhm annakhm force-pushed the no-forcenew-in-locale-service branch from f78fc4d to 29c873e Compare January 27, 2025 22:54
@ksamoray
Copy link
Collaborator

/test-all

@annakhm
Copy link
Collaborator Author

annakhm commented Jan 28, 2025

We need to add an update test with interfaces present - not merging this yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants