microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
334 stars 58 forks source link

Allow sqlcmd delete to succeed if container has already been deleted #286

Closed stuartpa closed 1 year ago

stuartpa commented 1 year ago

This PR allows the sqlcmd delete to succeed even if the user has manually deleted the container using something like docker rm. sqlcmd will log a warning if it finds the container has already been removed, and will continue to delete the context (and endpoint/user) and will complete successfullly

Closes #282