Revert "Change OS update deadline to 7PM local time" (#41965)
Reverts fleetdm/fleet#38810
This commit is contained in:
@@ -1314,7 +1314,7 @@ func (svc *Service) mdmAppleEditedAppleOSUpdates(ctx context.Context, teamID *ui
|
||||
"Type": %q,
|
||||
"Payload": {
|
||||
"TargetOSVersion": %q,
|
||||
"TargetLocalDateTime": "%sT19:00:00"
|
||||
"TargetLocalDateTime": "%sT12:00:00"
|
||||
}
|
||||
}`, softwareUpdateIdentifier, softwareUpdateType, updates.MinimumVersion.Value, updates.Deadline.Value))
|
||||
|
||||
|
||||
+1
-1
@@ -215,7 +215,7 @@ const AppleOSTargetForm = ({
|
||||
disabled={gitOpsModeEnabled}
|
||||
name="deadline"
|
||||
label="Deadline"
|
||||
tooltip="The end user can't dismiss the OS update once they reach this deadline. Deadline is 19:00 (7PM), the host's local time."
|
||||
tooltip="The end user can't dismiss the OS update once they reach this deadline. Deadline is 12:00 (Noon), the host's local time."
|
||||
helpText="YYYY-MM-DD format only (e.g., “2024-07-01”)."
|
||||
value={deadline}
|
||||
error={deadlineError}
|
||||
|
||||
@@ -3362,7 +3362,7 @@ func (s *integrationEnterpriseTestSuite) assertAppleOSUpdatesDeclaration(teamID
|
||||
require.NoError(t, err)
|
||||
|
||||
require.Contains(t, string(decl.RawJSON), fmt.Sprintf(`"TargetOSVersion": "%s"`, expected.MinimumVersion.Value))
|
||||
require.Contains(t, string(decl.RawJSON), fmt.Sprintf(`"TargetLocalDateTime": "%sT19:00:00"`, expected.Deadline.Value))
|
||||
require.Contains(t, string(decl.RawJSON), fmt.Sprintf(`"TargetLocalDateTime": "%sT12:00:00"`, expected.Deadline.Value))
|
||||
}
|
||||
|
||||
func (s *integrationEnterpriseTestSuite) TestAppleOSUpdatesTeamConfig() {
|
||||
|
||||
Reference in New Issue
Block a user