Skip to content

Commit

Permalink
Resize on for database instances
Browse files Browse the repository at this point in the history
  • Loading branch information
otherpirate committed Aug 25, 2016
1 parent 815bbf7 commit 51c24db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbaas/notification/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ def database_disk_resize(self, database, disk_offering, task_history, user):
details='\nLoading Disk offering'
)

for instance in databaseinfra.instances.all():
for instance in databaseinfra.get_driver().get_database_instances():
if not HostAttr.objects.filter(host_id=instance.hostname_id).exists():
continue

Expand Down

0 comments on commit 51c24db

Please sign in to comment.