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

pkg/loop: ClientConfig.SkipHostEnv=true #924

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

jmank88
Copy link
Collaborator

@jmank88 jmank88 commented Nov 7, 2024

@jmank88 jmank88 requested a review from a team as a code owner November 7, 2024 20:37
@jmank88 jmank88 requested review from george-dorin and removed request for a team November 7, 2024 20:37
@@ -118,6 +118,7 @@ func (s *PluginService[P, S]) launch() (*plugin.Client, plugin.ClientProtocol, e
s.lggr.Debug("Launching")

cc := s.grpcPlug.ClientConfig()
cc.SkipHostEnv = true
Copy link
Contributor

Choose a reason for hiding this comment

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

This setting doesn't turn off the env vars we pass through RegisterLoop?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nope, just the inherited ones from the parent/host process.

@krehermann krehermann merged commit 67dff0f into main Nov 7, 2024
11 checks passed
@krehermann krehermann deleted the BCF-2662-host-env-var branch November 7, 2024 21:26
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