Skip to content

Commit

Permalink
Merge pull request #18832 from jrafanie/fix_passing_argument_to_force…
Browse files Browse the repository at this point in the history
…_association_reload_deprecation

Correctly specify includes to fix a 5.0 deprecation
  • Loading branch information
bdunne authored May 31, 2019
2 parents 97cc0b8 + d217ea1 commit ff66d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vmdb/appliance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def self.log_server_identity
startup.info("Server EVM id and name: #{s.id} #{s.name}")

startup.info("Currently assigned server roles:")
s.assigned_server_roles(:include => :server_role).each { |r| startup.info("Role: #{r.server_role.name}, Priority: #{r.priority}") }
s.assigned_server_roles.includes(:server_role).each { |r| startup.info("Role: #{r.server_role.name}, Priority: #{r.priority}") }

issue = `cat /etc/issue 2> /dev/null` rescue nil
startup.info("OS: #{issue.chomp}") unless issue.blank?
Expand Down

0 comments on commit ff66d85

Please sign in to comment.