Skip to content

Commit

Permalink
Refs #37825 - Include inheritance column for Nic in audits
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren committed Oct 9, 2024
1 parent de20134 commit b9ec6cc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/models/nic/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ class Jail < ::Safemode::Jail
:children_mac_addresses, :nic_delay, :fqdn, :shortname, :type, :managed?, :bond?, :bmc?, :provision?
end

# include STI inheritance column in audits
def self.default_ignored_attributes
super - [inheritance_column]
end

def physical?
!virtual?
end
Expand Down

0 comments on commit b9ec6cc

Please sign in to comment.