Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clarify naming (replace 'command' with 'action')

  • Loading branch information...
commit cf00919d18147a10c7cb18abfca716334634e9a0 1 parent 506e5db
@ca8 ca8 authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 actions/getactions.rb
View
10 actions/getactions.rb
@@ -3,16 +3,16 @@
url = cmd[:url]
list = cmd[:list]
- EC2Boot::Util.log("Fetching action list (#{list}) from #{url}")
+ EC2Boot::Util.log("Fetching action list (#{list}) from action root: #{url}")
list = EC2Boot::Util.get_url("#{url}/#{list}")
- list.split("\n").each do |command|
- EC2Boot::Util.log("Fetching command: #{command}")
+ list.split("\n").each do |action|
+ EC2Boot::Util.log("Fetching action from action root: #{action}")
- body = EC2Boot::Util.get_url("#{url}/#{command}")
+ body = EC2Boot::Util.get_url("#{url}/#{action}")
- File.open(config.actions_dir + "/#{command}", "w") do |f|
+ File.open(config.actions_dir + "/#{action}", "w") do |f|
f.print body
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.