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

[v10.1.x] Licensing: Pass func to update env variables when starting plugin #74678

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

leandro-deveikis
Copy link
Contributor

@leandro-deveikis leandro-deveikis commented Sep 11, 2023

Backport 5e0b202 from #74620

What is this feature?
Updates backendplugin.PluginFactoryFunc to receive a provider func for the env variables to set when starting a Plugin.
This will update the env variables every time a plugin is started (instead of just snapshotting the variables the first time).

Which issue(s) does this PR fix?:
Fixes https://github.com/grafana/grafana-enterprise/issues/5752

@leandro-deveikis leandro-deveikis requested a review from a team as a code owner September 11, 2023 13:38
@leandro-deveikis leandro-deveikis requested review from wbrowne and oshirohugo and removed request for a team September 11, 2023 13:38
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.1.x milestone Sep 11, 2023
@leandro-deveikis leandro-deveikis changed the title [v10.1.x] Licensing: Pass func to update env variables when starting plugin (#74620) [v10.1.x] Licensing: Pass func to update env variables when starting plugin Sep 11, 2023
@leandro-deveikis leandro-deveikis merged commit c8bcc96 into v10.1.x Sep 12, 2023
27 checks passed
@leandro-deveikis leandro-deveikis deleted the backport-74620-to-v10.1.x branch September 12, 2023 13:06
@zerok zerok modified the milestones: 10.1.x, 10.1.3 Sep 19, 2023
@zerok zerok modified the milestones: 10.1.3, 10.1.5 Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants