Skip to content

Commit

Permalink
[Batch] Fixes OutputFiles for JobSchedule ManagerTasks (Azure#19123)
Browse files Browse the repository at this point in the history
* Fixes OutputFiles for JobSchedule ManagerTasks

Changelog

* Update ChangeLog.md

Co-authored-by: Yeming Liu <11371776+isra-fel@users.noreply.github.com>
  • Loading branch information
paterasMSFT and isra-fel authored Aug 4, 2022
1 parent 9c93673 commit 804e46e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Batch/Batch/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Fixed a bug wherein creating a new JobSchedule does not properly submit Output Files.

## Version 3.2.0

Expand Down
1 change: 1 addition & 0 deletions src/Batch/Batch/Utils/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ internal static void JobManagerTaskSyncCollections(PSJobManagerTask jobManager)
ConvertEnvironmentSetting);

jobManager.omObject.ResourceFiles = CreateSyncedList(jobManager.ResourceFiles, ConvertResourceFile);
jobManager.omObject.OutputFiles = CreateSyncedList(jobManager.OutputFiles, ps => ps.omObject);
jobManager.omObject.ApplicationPackageReferences = CreateSyncedList(jobManager.ApplicationPackageReferences,
a =>
{
Expand Down

0 comments on commit 804e46e

Please sign in to comment.