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

Remove principal from schema #328

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

hmlanigan
Copy link
Member

@hmlanigan hmlanigan commented Oct 20, 2023

Description

Remove unused schema value which cannot be used by a user either. The provider was saving the principal value, but not using it. Rather it was using the Principal value from a juju api response. No need to keep it.

Type of change

  • Other (please describe)

QA steps

Deploy an application via a plan with 0.9.1 and upgrade. Deploy another application with the new version of the provider.

@hmlanigan hmlanigan force-pushed the remove-principal-from-schema branch 3 times, most recently from d38c3e5 to a8d2e6a Compare October 20, 2023 19:40
Copy link

@cderici cderici left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@hmlanigan hmlanigan added this to the 0.10.0 milestone Oct 23, 2023
@hmlanigan hmlanigan force-pushed the remove-principal-from-schema branch from a8d2e6a to 98693cc Compare October 23, 2023 14:56
It's a value only used by the terraform provider and not the users.
Nor does the provide use the value saved, rather it uses the value
from a juju api call.

Leave the element in the application data structure to allow upgrades
of the provider without versionining the schema. That will be done for
version 1.0.0
@hmlanigan hmlanigan force-pushed the remove-principal-from-schema branch from 98693cc to b3beaab Compare October 23, 2023 15:28
@hmlanigan hmlanigan merged commit e8979bd into juju:main Oct 23, 2023
16 checks passed
@hmlanigan hmlanigan deleted the remove-principal-from-schema branch October 23, 2023 18:20
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