aptible-cli 0.17.1 → 0.17.2

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
  SHA256:
3
- metadata.gz: 2b10127dfc01ec4af08021f37da130738584bd5468298e7519ba4ec49b87d6dd
4
- data.tar.gz: 785eb00b9009419d7e952c344c642cb831fbd96c10d68b680b3bda68231d35f4
3
+ metadata.gz: ec0eedcd128407794469d7da0f0b89edcbc60b659118cab8a278166440d00e9b
4
+ data.tar.gz: ed5663f602a43c54b6a13930a9f271face5c30e65c6d70d4c48eb633abb7ba63
5
5
  SHA512:
6
- metadata.gz: 749b640447638c67ff246dcf8f1fcff049248d08870d2012165b9c7694fd65038533cb365f03b734bac593f9a953ce7ba5e5ce074ef4165ce2132961e9baecea
7
- data.tar.gz: 4ebfa45ebe3cfebbaa8abd6306414539c4e32dee645f7146b93ba081fe61c2b8a8aba5a5e540cc607a7d8b7fcb65bee04b4700ddd2698fe211458103fc1ec9bc
6
+ metadata.gz: a77a1f7c55957bd2f08e00ee3cd98d7d29c2058e989b152c7939be33b7e385c0a75dc95db6682948477f4c400654a5a1aa629476f12ff94c5b17e17103cb18e2
7
+ data.tar.gz: a9fdc5310c266fe98565ff1c2aa363a16d3b58f6943f1d5fac7184717ac9c4f0d62229b7ad651cfc71d03849d1eb3d80d72ae2fafa14b4beaacb168426cf1156
@@ -94,10 +94,15 @@ module Aptible
94
94
  end
95
95
  attach_account(node, account)
96
96
 
97
- node.value('disk_type', database.disk.ebs_volume_type)
98
- node.value('disk_size', database.disk.size)
99
- node.value('container_size', \
100
- database.service.container_memory_limit_mb)
97
+ if database.disk
98
+ node.value('disk_type', database.disk.ebs_volume_type)
99
+ node.value('disk_size', database.disk.size)
100
+ end
101
+
102
+ if database.service
103
+ node.value('container_size', \
104
+ database.service.container_memory_limit_mb)
105
+ end
101
106
  end
102
107
 
103
108
  def inject_credential(node, credential)
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module CLI
3
- VERSION = '0.17.1'.freeze
3
+ VERSION = '0.17.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-16 00:00:00.000000000 Z
11
+ date: 2021-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-resource