Skip to content

Commit b954222

Browse files
committed
Update changelog
1 parent 6963e0b commit b954222

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/Sql/Sql/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020
## Upcoming Release
2121
* Add Get/Set AzSqlDatabaseBackupShortTermRetentionPolicy
22+
* Fix issue where not being logged into Azure account would result in nullref exception when executing SQL cmdlets
2223

2324
## Version 1.1.0
2425
* Update incorrect online help URLs

src/Sql/Sql/Database Backup/Services/AzureSqlDatabaseBackupAdapter.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -552,19 +552,6 @@ public string GetServerLocation(string resourceGroupName, string serverName)
552552
return server.Location;
553553
}
554554

555-
/// <summary>
556-
/// Gets a SQL database by name
557-
/// </summary>
558-
/// <param name="resourceGroupName">The resource group the database is in</param>
559-
/// <param name="serverName">The name of the server</param>
560-
/// <param name="databaseName">The name of the database</param>
561-
/// <returns></returns>
562-
public AzureSqlDatabaseModel GetDatabase(string resourceGroupName, string serverName, string databaseName)
563-
{
564-
AzureSqlDatabaseAdapter databaseAdapter = new AzureSqlDatabaseAdapter(Context);
565-
return databaseAdapter.GetDatabase(resourceGroupName, serverName, databaseName);
566-
}
567-
568555
/// <summary>
569556
/// Create or update a backup LongTermRetention policy for a Azure SQL Database
570557
/// </summary>

0 commit comments

Comments
 (0)