Skip to content

Commit cc509a7

Browse files
committed
Fixing bug with bad string literal
String literal was not matching property name. "Table" changed to "TableName"
1 parent 1fa6d4d commit cc509a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected override IEnumerable<IndexRecommendation> GetEntity()
9090
}
9191

9292
// If table property is set keep only indexes on corresponding table
93-
if (MyInvocation.BoundParameters.ContainsKey("Table"))
93+
if (MyInvocation.BoundParameters.ContainsKey("TableName"))
9494
{
9595
results = results.Where(i => i.Table == TableName).ToList();
9696
}

0 commit comments

Comments
 (0)