Skip to content

Commit 9c1e1a5

Browse files
author
John Paul Kee
committed
Removing unneccessary check in AzureSqlDatabaseModel
1 parent fa5cfe6 commit 9c1e1a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public class AzureSqlDatabaseModel
145145
public bool? ZoneRedundant { get; set; }
146146

147147
/// <summary>
148-
/// Gets or sets the capacity of the database.
148+
/// Gets or sets the capacity of the database.
149149
/// The capacity is Dtu number if the database is dtu based database; capacity is Vcore number if the database is vcore based database.
150150
/// </summary>
151151
public int? Capacity { get; set; }
@@ -258,7 +258,7 @@ public AzureSqlDatabaseModel(string resourceGroup, string serverName, Management
258258

259259
SkuName = database.Sku == null ? null : database.Sku.Name;
260260

261-
LicenseType = database.LicenseType == null ? null : database.LicenseType;
261+
LicenseType = database.LicenseType;
262262
}
263263
}
264264
}

0 commit comments

Comments
 (0)