File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Synapse/Synapse/Commands/ManagementCommands/SparkPool Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,13 +178,13 @@ public override void ExecuteCmdlet()
178
178
NodeCount = this . enableAutoScale ? ( int ? ) null : this . NodeCount ,
179
179
NodeSizeFamily = NodeSizeFamily . MemoryOptimized ,
180
180
NodeSize = NodeSize ,
181
- AutoScale = ! this . enableAutoScale ? null : new AutoScaleProperties
181
+ AutoScale = ! this . enableAutoScale ? new AutoScaleProperties { Enabled = false } : new AutoScaleProperties
182
182
{
183
183
Enabled = this . enableAutoScale ,
184
184
MinNodeCount = AutoScaleMinNodeCount ,
185
185
MaxNodeCount = AutoScaleMaxNodeCount
186
186
} ,
187
- AutoPause = ! EnableAutoPause ? null : new AutoPauseProperties
187
+ AutoPause = ! EnableAutoPause ? new AutoPauseProperties { Enabled = false } : new AutoPauseProperties
188
188
{
189
189
Enabled = EnableAutoPause . IsPresent ,
190
190
DelayInMinutes = AutoPauseDelayInMinute
You can’t perform that action at this time.
0 commit comments