Skip to content

Fix issue editing cluster with agent env vars#4929

Merged
nwmac merged 1 commit intorancher:masterfrom
nwmac:fix-cluster-edit-agent-env-vars
Dec 16, 2022
Merged

Fix issue editing cluster with agent env vars#4929
nwmac merged 1 commit intorancher:masterfrom
nwmac:fix-cluster-edit-agent-env-vars

Conversation

@nwmac
Copy link
Member

@nwmac nwmac commented Dec 16, 2022

Addresses rancher/dashboard#6582

When editing as Yaml, an empty fromValue key gets added which causes problems - this PR goes through the agent env vars before save and removes fromValue from each var if it is empty.

@nwmac nwmac merged commit b11a909 into rancher:master Dec 16, 2022
@nwmac nwmac deleted the fix-cluster-edit-agent-env-vars branch December 16, 2022 22:34
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.

2 participants