Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit ad96169

Browse files
committed
Comment out feature flag check for work item creation
1 parent c8938ba commit ad96169

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ApiService/ApiService/onefuzzlib/NotificationOperations.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ await _context.Teams.NotifyTeams(teamsTemplate, container, reportOrRegression!,
9494
notification.NotificationId);
9595
break;
9696
case AdoTemplate adoTemplate when reportOrRegression is not null:
97-
if (await _context.FeatureManagerSnapshot.IsEnabledAsync(FeatureFlagConstants.EnableWorkItemCreation)) {
98-
return await _context.Ado.NotifyAdo(adoTemplate, container, reportOrRegression, isLastRetryAttempt,
99-
notification.NotificationId);
100-
} else {
101-
return OneFuzzResultVoid.Error(ErrorCode.ADO_WORKITEM_PROCESSING_DISABLED, "Work item processing is currently disabled");
102-
}
97+
// if (await _context.FeatureManagerSnapshot.IsEnabledAsync(FeatureFlagConstants.EnableWorkItemCreation)) {
98+
return await _context.Ado.NotifyAdo(adoTemplate, container, reportOrRegression, isLastRetryAttempt,
99+
notification.NotificationId);
100+
// } else {
101+
// return OneFuzzResultVoid.Error(ErrorCode.ADO_WORKITEM_PROCESSING_DISABLED, "Work item processing is currently disabled");
102+
// }
103103
case GithubIssuesTemplate githubIssuesTemplate when reportOrRegression is not null:
104104
await _context.GithubIssues.GithubIssue(githubIssuesTemplate, container, reportOrRegression,
105105
notification.NotificationId);

0 commit comments

Comments
 (0)