summaryrefslogtreecommitdiff
path: root/lib/chef/knife/role_env_run_list_replace.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/role_env_run_list_replace.rb')
-rw-r--r--lib/chef/knife/role_env_run_list_replace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/role_env_run_list_replace.rb b/lib/chef/knife/role_env_run_list_replace.rb
index ae0c7a63b5..e84e351c1e 100644
--- a/lib/chef/knife/role_env_run_list_replace.rb
+++ b/lib/chef/knife/role_env_run_list_replace.rb
@@ -31,7 +31,7 @@ class Chef
def replace_in_env_run_list(role, environment, old_entry, new_entry)
nlist = []
- role.run_list_for(environment).each do |entry|
+ role.run_list_for(environment).each do |entry|
if entry == old_entry
nlist << new_entry
else