Skip to content

Commit d1a15f4

Browse files
committed
Fixed datatype bug on DaysToInstall
1 parent abfbced commit d1a15f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Modules/xSharePoint/DSCResources/MSFT_xSPDiagnosticLoggingSettings/MSFT_xSPDiagnosticLoggingSettings.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function Set-TargetResource
6969
[System.Boolean]
7070
$CustomerExperienceImprovementProgramEnabled = $true,
7171

72-
[System.Boolean]
72+
[System.UInt32]
7373
$DaysToKeepLogs = 14,
7474

7575
[System.Boolean]
@@ -152,7 +152,7 @@ function Test-TargetResource
152152
[System.Boolean]
153153
$CustomerExperienceImprovementProgramEnabled = $true,
154154

155-
[System.Boolean]
155+
[System.UInt32]
156156
$DaysToKeepLogs = 14,
157157

158158
[System.Boolean]

Modules/xSharePoint/DSCResources/MSFT_xSPDiagnosticLoggingSettings/MSFT_xSPDiagnosticLoggingSettings.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class MSFT_xSPDiagnosticLoggingSettings : OMI_BaseResource
66
[Required] uint32 LogSpaceInGB;
77
[Write] boolean AppAnalyticsAutomaticUploadEnabled;
88
[Write] boolean CustomerExperienceImprovementProgramEnabled;
9-
[Write] boolean DaysToKeepLogs;
9+
[Write] uint32 DaysToKeepLogs;
1010
[Write] boolean DownloadErrorReportingUpdatesEnabled;
1111
[Write] boolean ErrorReportingAutomaticUploadEnabled;
1212
[Write] boolean ErrorReportingEnabled;

0 commit comments

Comments
 (0)