convection 2.2.14 → 2.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/convection +3 -3
- data/lib/convection/control/cloud.rb +1 -1
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 2b82f44bb43dd2ea466507ec5a442d85abba2298
         | 
| 4 | 
            +
              data.tar.gz: a21e0831ae8f40fb4635b83e93bec53c93315be2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e6a74fceb048376b9e271e660a9d95ec662dc2ea5cd1eeb7bac7bf0cf481a92908df91169baeb4560968ee1e7a3315a0c4469bd21ebea6f57898b3c650f2a4e6
         | 
| 7 | 
            +
              data.tar.gz: e9062bd93f33b2f2a1870a5016f516bd738cfea67de87fed228424ef3b0878d70999fab3495b965ec3569e85d4a424ee2256aa6526b2c56768500e19aee52b0c
         | 
    
        data/bin/convection
    CHANGED
    
    | @@ -402,7 +402,7 @@ module Convection | |
| 402 402 | 
             
                            if options[:cloudfiles].length > 1 && options[:delayed_output]
         | 
| 403 403 | 
             
                              output << { event: event, errors: errors }
         | 
| 404 404 | 
             
                            else
         | 
| 405 | 
            -
                              emit_events(event,  | 
| 405 | 
            +
                              emit_events(event, errors, region: region)
         | 
| 406 406 | 
             
                            end
         | 
| 407 407 | 
             
                            semaphore.synchronize { @errors = errors.any? if errors }
         | 
| 408 408 | 
             
                          end
         | 
| @@ -505,7 +505,7 @@ module Convection | |
| 505 505 | 
             
                      print_info(event, region: region)
         | 
| 506 506 | 
             
                    end
         | 
| 507 507 |  | 
| 508 | 
            -
                    errors.each do |error|
         | 
| 508 | 
            +
                    Array(errors).each do |error|
         | 
| 509 509 | 
             
                      error = RuntimeError.new(error) if error.is_a?(String)
         | 
| 510 510 | 
             
                      say "* #{ error.message }"
         | 
| 511 511 | 
             
                      error.backtrace.each { |trace| say "    #{ trace }" }
         | 
| @@ -523,7 +523,7 @@ module Convection | |
| 523 523 | 
             
                      puts "Cloud name: #{output[:cloud_name]}. Region: #{output[:region]}."
         | 
| 524 524 | 
             
                      puts '********'
         | 
| 525 525 | 
             
                      output[:logging].each do |hash|
         | 
| 526 | 
            -
                        emit_events(hash[:event],  | 
| 526 | 
            +
                        emit_events(hash[:event], Array(hash[:errors]), region: output[:region])
         | 
| 527 527 | 
             
                      end
         | 
| 528 528 | 
             
                    end
         | 
| 529 529 | 
             
                  end
         | 
| @@ -167,7 +167,7 @@ module Convection | |
| 167 167 | 
             
                    # Find errors during stack init
         | 
| 168 168 | 
             
                    stacks.each_value do |stack|
         | 
| 169 169 | 
             
                      if stack.error?
         | 
| 170 | 
            -
                        errors  | 
| 170 | 
            +
                        errors += stack.errors.collect { |x| x.exception.message }
         | 
| 171 171 | 
             
                      end
         | 
| 172 172 | 
             
                    end
         | 
| 173 173 |  |