Skip to content

Commit

Permalink
Merge pull request #233 from aufi/bz_1546109_fix_targeted_refresh_cle…
Browse files Browse the repository at this point in the history
…aring_vm_cloud_tenant_for_v2

Bz 1546109 fix targeted refresh clearing vm cloud tenant for v2
  • Loading branch information
agrare committed Feb 19, 2018
2 parents efa5865 + 918bbff commit 7bb8ea9
Show file tree
Hide file tree
Showing 23 changed files with 24,706 additions and 24,721 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ def tenants

def memoized_get_tenant(tenant_id)
return nil if tenant_id.blank?
@tenant_memo ||= Hash.new do |h, key|
h[key] = safe_get { identity_service.respond_to?(:projects) ? identity_service.projects_get_by_id(key) : identity_service.tenants.find_by_id(key) }
end
@tenant_memo ||= identity_service.visible_tenants.index_by(&:id)
@tenant_memo[tenant_id]
end

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,328 changes: 1,164 additions & 1,164 deletions spec/vcr_cassettes/manageiq/providers/openstack/cloud_manager/refresher_rhos_juno.yml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,444 changes: 1,222 additions & 1,222 deletions spec/vcr_cassettes/manageiq/providers/openstack/cloud_manager/refresher_rhos_kilo.yml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7bb8ea9

Please sign in to comment.