Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/plugin/test_cache_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def fetch_namespace_metadata(_namespace_name)
def log
logger = {}

def logger.on_trace
def logger.on_trace # rubocop:disable Naming/PredicateMethod
true
end

Expand Down
4 changes: 2 additions & 2 deletions test/plugin/test_filter_kubernetes_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def create_driver(conf = '')
expected_cert_path = File.join(dir, Plugin::KubernetesMetadataFilter::K8_POD_CA_CERT)
expected_token_path = File.join(dir, Plugin::KubernetesMetadataFilter::K8_POD_TOKEN)

File.open(expected_cert_path, 'w')
File.open(expected_token_path, 'w')
FileUtils.touch(expected_cert_path)
FileUtils.touch(expected_token_path)

d = create_driver("
watch false
Expand Down