Skip to content

Commit

Permalink
Add missing region flag
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Anarse <vishal@civo.com>
  • Loading branch information
Vishal Anarse committed Sep 1, 2023
1 parent 5885a7a commit 6ace4cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/database/database_restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ var dbRestoreCmd = &cobra.Command{
config := &civogo.RestoreDatabaseRequest{
Software: db.Software,
Backup: backup,
Region: client.Region,
}
_, err = client.RestoreDatabase(db.ID, config)
if err != nil {
Expand Down

0 comments on commit 6ace4cf

Please sign in to comment.