Skip to content

Commit

Permalink
Prevent false positives in checking lro status
Browse files Browse the repository at this point in the history
  • Loading branch information
markcowl committed Sep 7, 2024
1 parent 6f8497b commit aae5dfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/typespec-azure-core/src/lro-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ function GetStatusMonitorInfoFromOperation(
program: Program,
operation: HttpOperation
): StatusMonitorInfo | undefined {
if (operation.verb === "get" || operation.verb === "head") return undefined;
const models = filterResponseModels(
operation,
(model) =>
Expand Down

0 comments on commit aae5dfb

Please sign in to comment.