Skip to content

Commit

Permalink
Merge pull request #16408 from pkliczewski/master
Browse files Browse the repository at this point in the history
Datastores duplicated after a refresh
(cherry picked from commit c736542)
  • Loading branch information
agrare authored and simaishi committed Nov 15, 2017
1 parent 3b602e1 commit 09f9fe6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ def ems_clusters(extra_attributes = {})
def storages(extra_attributes = {})
attributes = {
:model_class => ::Storage,
# TODO: change :manager_ref => [:location],
:association => :storages
:manager_ref => [:location],
:association => :storages,
:complete => false,
:arel => Storage
}

attributes.merge!(extra_attributes)
Expand Down

0 comments on commit 09f9fe6

Please sign in to comment.