Skip to content

Commit

Permalink
updated custom status to be to 100% when completing the loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
RGBKnights committed Jan 8, 2025
1 parent 49b1e5f commit 8d0f79c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions IteratorFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ public async Task<List<string>> Iterator_Orchestrator([OrchestrationTrigger] Tas
await context.CreateTimer(deadline, CancellationToken.None);
}

var status = new OrchestratorStatus()
{
Index = input.Values.Count,
Count = input.Values.Count,
Progress = 100f
};
context.SetCustomStatus(status);

return outputs;
}

Expand Down
7 changes: 6 additions & 1 deletion WhiteCrow.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.11.35431.28
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WhiteCrow", "WhiteCrow.csproj", "{850B5BC5-5888-4991-A50A-1D75326E0BFB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WhiteCrow", "WhiteCrow.csproj", "{850B5BC5-5888-4991-A50A-1D75326E0BFB}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{01F283E3-089F-468A-957F-A644810DDCD0}"
ProjectSection(SolutionItems) = preProject
.github\workflows\azure-functions-app-dotnet.yml = .github\workflows\azure-functions-app-dotnet.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit 8d0f79c

Please sign in to comment.