Skip to content

Commit 750d3f0

Browse files
authored
Fixed issue that disables the schedule for update deployment if schedule was re-created with same name (#14611)
* Pass IsEnabled always true * Update ChangeLog.md
1 parent 3759fbd commit 750d3f0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Automation/Automation/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Fixed issue that disables the schedule for update deployment if schedule was re-created with same name
2122

2223
## Version 1.5.2
2324
* Fixed the issue for starting Python3 runbooks with parameters

src/Automation/Automation/Common/AutomationPSClientSoftwareUpdateConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public SoftwareUpdateConfiguration CreateSoftwareUpdateConfiguration(string reso
8585
ExpiryTime = configuration.ScheduleConfiguration.ExpiryTime.ToUniversalTime(),
8686
Frequency = configuration.ScheduleConfiguration.Frequency.ToString(),
8787
Interval = configuration.ScheduleConfiguration.Interval,
88-
IsEnabled = configuration.ScheduleConfiguration.IsEnabled,
88+
IsEnabled = true,
8989
TimeZone = configuration.ScheduleConfiguration.TimeZone,
9090
AdvancedSchedule = configuration.ScheduleConfiguration.GetAdvancedSchedule(),
9191
Description = configuration.ScheduleConfiguration.Description

0 commit comments

Comments
 (0)