lib/cloudstack-cli/commands/job.rb in cloudstack-cli-0.4.3 vs lib/cloudstack-cli/commands/job.rb in cloudstack-cli-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
class Job < CloudstackCli::Base
- desc 'job list', 'list async jobs'
+ desc 'list', 'list async jobs'
def list
jobs = client.list_jobs()
if jobs.size < 1
say "No jobs found."
else
@@ -12,10 +12,10 @@
end
print_table table
end
end
- desc 'job query ID', 'query async job'
+ desc 'query ID', 'query async job'
def query(id)
job = client.query_job(id)
job.each do |key, value|
say "#{key} : "
if value.is_a?(Hash)
\ No newline at end of file