Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
databases: prevent potential panic on db create (#1378)
In the command to create a database, there's an error that we're currently ignoring. If that err is not nil and the next line runs that tries to access a field on a nil database, doctl will panic. This PR checks that error, which will prevent the panic.
- Loading branch information