Skip to content

Commit

Permalink
drop unused relations to reduce API and also autoyast profile to real…
Browse files Browse the repository at this point in the history
…ly used stuff
  • Loading branch information
jreidinger committed Jan 14, 2019
1 parent 15d6751 commit 6745799
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions library/network/src/lib/y2firewall/firewalld/zone.rb
Expand Up @@ -48,8 +48,9 @@ class Zone
}.freeze

# @see Y2Firewall::Firewalld::Relations
has_many :services, :interfaces, :protocols, :rich_rules, :sources,
:ports, :source_ports, :forward_ports, cache: true
# @note relations are experted to autoyast, so do not forget when modify to adapt
# schema and also autoyast importer
has_many :services, :interfaces, :protocols, :ports, cache: true

# @see Y2Firewall::Firewalld::Relations
has_attributes :name, :masquerade, :short, :description, :target, cache: true
Expand Down

0 comments on commit 6745799

Please sign in to comment.