Skip to content

Commit

Permalink
Fix avaiable roles issue forward3d#34
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Kremer committed Nov 16, 2014
1 parent 70b7e36 commit 9e89be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cap-ec2/ec2-handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def instance_ids
end

def defined_roles
Capistrano::Configuration.env.send(:servers).send(:available_roles).sort
roles(:all).flat_map(&:roles_array).uniq.sort
end

def stage
Expand Down

0 comments on commit 9e89be6

Please sign in to comment.