Skip to content

Commit 1f2e6b7

Browse files
update time for windows
1 parent 6831544 commit 1f2e6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Compute/Commands.Compute/Strategies/Compute/VirtualMachineStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static class VirtualMachineStrategy
3131
p.ResourceGroupName, p.Name, null, p.CancellationToken),
3232
(o, p) => o.CreateOrUpdateAsync(
3333
p.ResourceGroupName, p.Name, p.Model, p.CancellationToken),
34-
_ => 120);
34+
c => c.OsProfile.WindowsConfiguration != null ? 240 : 120);
3535

3636
public static ResourceConfig<VirtualMachine> CreateVirtualMachineConfig(
3737
this ResourceConfig<ResourceGroup> resourceGroup,

0 commit comments

Comments
 (0)