mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
Fix Rubocop issue
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
This commit is contained in:
parent
d428a96bab
commit
e0dfbad730
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class AwsIamAccessKey < Inspec.resource(1)
|
||||||
access_key_last_used.last_used_date
|
access_key_last_used.last_used_date
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def access_key_last_used
|
def access_key_last_used
|
||||||
@access_key_last_used ||= @iam_client.get_access_key_last_used({ access_key_id: access_key.access_key_id }).access_key_last_used
|
@access_key_last_used ||= @iam_client.get_access_key_last_used({ access_key_id: access_key.access_key_id }).access_key_last_used
|
||||||
|
|
Loading…
Reference in a new issue