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

Add back the ETP preview flag #2339

Merged
merged 4 commits into from
Aug 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions azurelinuxagent/ga/exthandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1996,6 +1996,8 @@ def create_handler_env(self):

if get_supported_feature_by_name(SupportedFeatureNames.ExtensionTelemetryPipeline).is_supported:
handler_env[HandlerEnvironment.eventsFolder] = self.get_extension_events_dir()
# For now, keep the preview key to not break extensions that were using the preview.
Copy link
Contributor

@larohra larohra Aug 24, 2021

Choose a reason for hiding this comment

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

can you also create a TFS task and assign it to me to remove this key eventually. Thanks!

handler_env[HandlerEnvironment.eventsFolder_preview] = self.get_extension_events_dir()

env = [{
HandlerEnvironment.name: self.ext_handler.name,
Expand Down Expand Up @@ -2224,6 +2226,7 @@ class HandlerEnvironment(object):
configFolder = "configFolder"
statusFolder = "statusFolder"
heartbeatFile = "heartbeatFile"
eventsFolder_preview = "eventsFolder_preview"
eventsFolder = "eventsFolder"
name = "name"
version = "version"
Expand Down