Skip to content

Commit

Permalink
Merge pull request ManageIQ#11724 from OrBin/master
Browse files Browse the repository at this point in the history
Fixed copy&paste error in MiqVimInventory#storagePods_locked
  • Loading branch information
agrare authored Oct 7, 2016
2 parents 7135bbb + 34899a1 commit 67f721e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gems/pending/VMwareWebService/MiqVimInventory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ def storagePods_locked
raise "storagePods_locked: cache lock not held" unless @cacheLock.sync_locked?
return(@storagePods) if @storagePods

$vim_log.info "MiqVimInventory.storagePods_locked: loading Datastore cache for #{@connId}"
$vim_log.info "MiqVimInventory.storagePods_locked: loading Datastore Cluster cache for #{@connId}"
begin
@cacheLock.sync_lock(:EX) if (unlock = @cacheLock.sync_shared?)

Expand All @@ -1833,7 +1833,7 @@ def storagePods_locked
ensure
@cacheLock.sync_unlock if unlock
end
$vim_log.info "MiqVimInventory.dataStores_locked: loaded Datastore cache for #{@connId}"
$vim_log.info "MiqVimInventory.storagePods_locked: loaded Datastore Cluster cache for #{@connId}"

@storagePods
end # def storagePods_locked
Expand Down

0 comments on commit 67f721e

Please sign in to comment.