smartos-manager 1.4.1 → 1.4.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
  SHA1:
3
- metadata.gz: 0c8b9fa9ed2240ea8a6f977e6dfd43e8d4c91b12
4
- data.tar.gz: 88740a81716a7722b83917f3dfbd372e5306ae18
3
+ metadata.gz: 459e0cd7f79202dc121bf3cd7ba3aeb2d7c71a8f
4
+ data.tar.gz: 5c48f58ca43f669dfe5c54d25e03a55add060598
5
5
  SHA512:
6
- metadata.gz: 0fe8a42cb0ac1e8a885a2dc231fb856eda427e2efd7c66b3db5234d490c0df05a07840b27dad46a9d4bb61e8c8a8f4fa668006d5c4bcace23b84108e589d43c8
7
- data.tar.gz: dfea46cad804fff9afe5e6a8f97f5a6f4e6e69580aa4a8ce8c472a63238a66ad5508d12f59ec6256426ab83d57b545262a824859fd2211d23e5401092b105219
6
+ metadata.gz: 6f70d8f7e1bb6b5a52c88933911699837dae91425da69ae0776fd2e5ca21ffd56da4c97ddfb97eca383f30604acfab274ba9d7a00f025c5f4203952ed1a1ef3a
7
+ data.tar.gz: 0d003bc12d776a841d2b4c4d93591720f784e3624fd1c49900521070cfdfad447d5d19b707683af356eef57d6ecbcb1c6256fb47eef1fb9c0d30f632c543bb20
@@ -77,7 +77,12 @@ class AppCLI < Thor
77
77
  vm_disk_label = "#{vm_disk[:quota]}"
78
78
  end
79
79
 
80
- formatted_mem = "#{vm.rss.human_size(1).ljust(5)} / #{vm.memory.human_size(1).ljust(5)}"
80
+ if vm.rss
81
+ tmp = vm.rss.human_size(1)
82
+ else
83
+ tmp = "-"
84
+ end
85
+ formatted_mem = "#{tmp.ljust(5)} / #{vm.memory.human_size(1).ljust(5)}"
81
86
 
82
87
  p_vm_list(formatted_mem, vm.name, vm.type, vm.uuid, vm.state, vm.admin_ip, vm_disk_label, *user_columns)
83
88
  end
@@ -1,3 +1,3 @@
1
1
  module SmartosManager
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartos-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Ammous