Skip to content

Commit a479f78

Browse files
Merge pull request #339 from civo/fix/region
Add missing region flag
2 parents 5885a7a + 6ace4cf commit a479f78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/database/database_restore.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ var dbRestoreCmd = &cobra.Command{
4444
config := &civogo.RestoreDatabaseRequest{
4545
Software: db.Software,
4646
Backup: backup,
47+
Region: client.Region,
4748
}
4849
_, err = client.RestoreDatabase(db.ID, config)
4950
if err != nil {

0 commit comments

Comments
 (0)