Skip to content

Commit edea576

Browse files
armaanmetafacebook-github-bot
authored andcommitted
Updating language in fb_launchd
Differential Revision: D65471059 fbshipit-source-id: c72a2bc2ac40eeb1c06ee168b593015fbc98aaea
1 parent 7255b25 commit edea576

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cookbooks/fb_launchd/resources/default.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
default_action :run
2323

2424
# Attributes that circumvent or defeat the purpose of using launchd as a node
25-
# API. Blacklist them so that this blows up when they're used. If you really
25+
# API. Blocklist them so that this blows up when they're used. If you really
2626
# want to use these, just make a launchd resource instead.
27-
BLACKLISTED_ATTRIBUTES = %w{
27+
BLOCKLISTED_ATTRIBUTES = %w{
2828
label
2929
path
3030
}.freeze
@@ -56,9 +56,9 @@
5656

5757
# Set up current jobs.
5858
node['fb_launchd']['jobs'].each do |name, attrs|
59-
if attrs.keys.any? { |k| BLACKLISTED_ATTRIBUTES.include?(k) }
60-
fail "fb_launchd[#{name}]: uses a blacklisted attribute (one of " +
61-
"#{BLACKLISTED_ATTRIBUTES}). If you want to use them, create a " +
59+
if attrs.keys.any? { |k| BLOCKLISTED_ATTRIBUTES.include?(k) }
60+
fail "fb_launchd[#{name}]: uses a blocklisted attribute (one of " +
61+
"#{BLOCKLISTED_ATTRIBUTES}). If you want to use them, create a " +
6262
"'launchd' resource instead"
6363
end
6464

0 commit comments

Comments
 (0)