Skip to content

Commit

Permalink
removed raw_* from available attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Feb 19, 2020
1 parent 4e0e95f commit bfc459f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions library/general/src/lib/cfa/sysctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,8 @@ class Sysctl < BaseModel

class << self
def known_attributes
# Returning all attributes together with all raw_* attributes
# for boolean attributes.
ret = ATTRIBUTES.keys
BOOLEAN_ATTRIBUTES.each { |attr| ret << "raw_#{attr}".to_sym }
ret
# Returning all attributes
ATTRIBUTES.keys
end

# Modifies default CFA methods to handle boolean values
Expand Down

0 comments on commit bfc459f

Please sign in to comment.