Skip to content

Commit 8d98eef

Browse files
committed
Properly configure mass_threshold and inline disable FC023
1 parent 12bd8b1 commit 8d98eef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.codeclimate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ engines:
44
enabled: true
55
config:
66
languages:
7-
- ruby
8-
#mass_threshold: 60
7+
ruby:
8+
mass_threshold: 60
99
fixme:
1010
enabled: true
1111
foodcritic:

recipes/hadoop_hdfs_datanode.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
end
4242
end
4343

44-
if node['hadoop']['hdfs_site'].key?('dfs.domain.socket.path')
44+
if node['hadoop']['hdfs_site'].key?('dfs.domain.socket.path') # ~FC023
4545
directory ::File.dirname(node['hadoop']['hdfs_site']['dfs.domain.socket.path']).gsub('file://', '') do
4646
mode '0750'
4747
owner 'hdfs'

0 commit comments

Comments
 (0)