Skip to content

Commit f530b52

Browse files
committed
apply cookstyle fixes
Signed-off-by: Martin Schurz <[email protected]>
1 parent e71abd9 commit f530b52

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

controls/1_1_master_node_configuration_files.rb

-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@
169169
skip 'Review the permissions on your CNI configuration file(s).'
170170
end
171171
end
172-
173172
end
174173

175174
control 'cis-kubernetes-benchmark-1.1.10' do

controls/1_2_master_node_api_server.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
resource['providers'].each_entry do |provider|
530530
provider.each_key do |provider_name|
531531
describe "#{provider_name} must be in identify, aescbc, kms, secretbox" do
532-
it { be_in %w[identity aescbc kms secretbox] }
532+
it { be_in %w(identity aescbc kms secretbox) }
533533
end
534534
end
535535
end

libraries/process_env_var.rb

-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ class ProcessEnvVar < Inspec.resource(1)
1111

1212
# As described here https://github.com/inspec/inspec/blob/main/lib/inspec/resource.rb#L111
1313
# Inspec has a weird behaviour concerning super
14-
# rubocop:disable Lint/MissingSuper
1514
def initialize(process)
1615
@process = inspec.processes(process)
1716
end
18-
# rubocop:enable Lint/MissingSuper
1917

2018
def respond_to_missing?(name)
2119
Log.debug("Missing #{name}")

0 commit comments

Comments
 (0)