Project

General

Profile

Revision df47dd3c

Added by Thomas McKay over 8 years ago

corrected threading

reports updated

removed debug

View differences:

lib/hammer_cli_csv/reports.rb
52 52

  
53 53
          if !@existing_reports[name]
54 54
            print "Creating report '#{name}'..." if option_verbose?
55
            reported_at = line[TIME] || Time.now
55 56
            report = @api.resource(:reports).call(:create, {
56 57
                                            'host' => name,
57
                                            'reported_at' => line[TIME],
58
                                            'reported_at' => reported_at,
58 59
                                            'status' => {
59 60
                                              'applied' => line[APPLIED],
60 61
                                              'restarted' => line[RESTARTED],

Also available in: Unified diff