mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
Removed duplicate method warning in shadow resource.
Removed from filtertable because the deprecations are in the regular methods. Fixes #4213. Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
4942a572bb
commit
11a22c63c7
1 changed files with 0 additions and 6 deletions
|
@ -52,12 +52,6 @@ module Inspec::Resources
|
|||
.register_column(:inactive_days, field: "inactive_days")
|
||||
.register_column(:expiry_dates, field: "expiry_date")
|
||||
.register_column(:reserved, field: "reserved")
|
||||
# These are deprecated, but we need to "alias" them
|
||||
filtertable
|
||||
.register_custom_property(:user) { |table, value| table.resource.user(value) }
|
||||
.register_custom_property(:password) { |table, value| table.resource.password(value) }
|
||||
.register_custom_property(:last_change) { |table, value| table.resource.last_change(value) }
|
||||
.register_custom_property(:expiry_date) { |table, value| table.resource.expiry_date(value) }
|
||||
|
||||
filtertable.register_custom_property(:content) do |t, _|
|
||||
t.entries.map do |e|
|
||||
|
|
Loading…
Add table
Reference in a new issue