Skip to content

Conversation

@VeryEarly
Copy link
Contributor

No description provided.

@VeryEarly VeryEarly requested a review from isra-fel August 8, 2023 11:05
Comment on lines 526 to 527
if ((!AzureSession.Instance.TryGetComponent<IConfigManager>(nameof(IConfigManager), out var configManager)
|| !configManager.GetConfigValue<bool>(ConfigKeysForCommon.DisableErrorRecordsPersistence)) && IsDataCollectionAllowed())
Copy link
Member

@isra-fel isra-fel Aug 9, 2023

Choose a reason for hiding this comment

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

Can this be simplified / reused?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do you mean mark the state of the config somewhere as a flag?

Copy link
Member

@isra-fel isra-fel left a comment

Choose a reason for hiding this comment

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

LGTM

@VeryEarly VeryEarly merged commit 9b5f8b9 into Azure:main Aug 11, 2023
@VeryEarly VeryEarly deleted the config/disable-errorlog branch August 11, 2023 06:57
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