Skip to content

Commit bc68990

Browse files
address comments
Signed-off-by: Jack Schofield <[email protected]>
1 parent 2be4566 commit bc68990

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

src/Common/Interfaces/IWorkflowService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public interface IWorkflowService
2929
/// </summary>
3030
/// <param name="workflow">Workflow to Update.</param>
3131
/// <param name="id">Id of the workflow to Update.</param>
32-
Task<string> UpdateAsync(Workflow workflow, string id);
32+
Task<string?> UpdateAsync(Workflow workflow, string id);
3333
}
3434
}

src/Common/Services/WorkflowService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public async Task<string> CreateAsync(Workflow workflow)
3535
return await _workflowRepository.CreateAsync(workflow);
3636
}
3737

38-
public async Task<string> UpdateAsync(Workflow workflow, string id)
38+
public async Task<string?> UpdateAsync(Workflow workflow, string id)
3939
{
4040
Guard.Against.Null(workflow);
4141
Guard.Against.NullOrWhiteSpace(id);

tests/UnitTests/Common.Tests/Monai.Deploy.WorkflowManger.Common.Tests.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
\SPDX-FileCopyrightText: © 2022 MONAI Consortium
3+
SPDX-License-Identifier: Apache License 2.0
4+
-->
5+
16
<Project Sdk="Microsoft.NET.Sdk">
27

38
<PropertyGroup>

tests/UnitTests/WorkflowManager.Tests/Monai.Deploy.WorkflowManager.Tests.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
\SPDX-FileCopyrightText: © 2022 MONAI Consortium
3+
SPDX-License-Identifier: Apache License 2.0
4+
-->
5+
16
<Project Sdk="Microsoft.NET.Sdk">
27

38
<PropertyGroup>

0 commit comments

Comments
 (0)