Skip to content

Commit

Permalink
Merge pull request #17157 from mansam/get-backups-for-all-available-t…
Browse files Browse the repository at this point in the history
…enants

Use handled_list to get Cinder backups for all accessible tenants
(cherry picked from commit f10ac92)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1566563
  • Loading branch information
agrare authored and simaishi committed Apr 12, 2018
1 parent 6501817 commit 9d93d8c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def get_snapshots
end

def get_backups
process_collection(@cinder_service&.list_backups_detailed.body["backups"],
process_collection(@cinder_service.handled_list(:list_backups_detailed,
:__request_body_index => "backups"),
:cloud_volume_backups) { |backup| parse_backup(backup) }
end

Expand Down

0 comments on commit 9d93d8c

Please sign in to comment.