ec2ctl 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24c532b1773ae4b03a4f093d7c45e9de3398872f
4
- data.tar.gz: 7f5b7677856024a48239e10badeadc20a2afbf8b
3
+ metadata.gz: fca3cd233af8d3490fe1413140d69c929b01eb71
4
+ data.tar.gz: 81b7947de057b8b75c4ac890319d17a98bf1e5dc
5
5
  SHA512:
6
- metadata.gz: c2ed65270e70558cfee144292777e523c8d18a70be74a0add00332d19bb81b7fead0c7667dfa88ce3747d1ff4e76ffc341a400a3f3aa35f3d7f0212b54bb59ba
7
- data.tar.gz: 9c3afaa4e85264b5b98af4a971d94dbcf43bab23c47fef356bc6bd083fccf5edf5119ddc25e0fcb041a5962382855a6eeaac761ea2b8ae220febbb2c2c1f1cb9
6
+ metadata.gz: 71417debb54cb974406b6e0c54018351d5a1a41714ad5e8012db8b4411f6b5c361530aa797fb50d45fade38c78554f5262ad210f01c34113911a455caff44fe0
7
+ data.tar.gz: 73a82751440cf841115c8734a9297ce79da58434843a29d09a2f2c6e4861f2cde82a65256d5100a65cf9cf64236d76d5b0984e390047113f843ed856c04a7d77
data/lib/ec2ctl/client.rb CHANGED
@@ -462,9 +462,9 @@ module EC2Ctl
462
462
  return @ssm_instance_states if instance_ids.empty?
463
463
 
464
464
  instance_ids.each_slice 50 do |slice|
465
- loop do
466
- next_token = nil
465
+ next_token = nil
467
466
 
467
+ loop do
468
468
  response = @ssm_client.describe_instance_information(
469
469
  next_token: next_token,
470
470
 
@@ -495,9 +495,9 @@ module EC2Ctl
495
495
 
496
496
  @load_balancer_descriptions = []
497
497
 
498
- loop do
499
- next_marker = nil
498
+ next_marker = nil
500
499
 
500
+ loop do
501
501
  params = {marker: next_marker}
502
502
  params.update load_balancer_names: [@load_balancer_name] if @load_balancer_name
503
503
 
@@ -1,3 +1,3 @@
1
1
  module EC2Ctl
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2ctl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoriki Yamaguchi