morpheus-cli 3.6.18 → 3.6.19

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: 2e083e72d1e2b2d6bae51eb812f094c410fae2ffc923d752eb9614b052b54509
4
- data.tar.gz: a3874e187ca876219b9221daf9ac323cddb804b2545e37519ccea82d8fd38915
3
+ metadata.gz: 7625ff08336d82d703250fb5fa4c588d847245dbba288dfef1cd47dbf5b30784
4
+ data.tar.gz: a6ec55b6be3acab8f3ca56cb8121e0d0faad4f363ccf3464814a00fedc013188
5
5
  SHA512:
6
- metadata.gz: bc0b1d85fcd28aced159ce23ff2c28082021f6910793d9e4167cf92428ed351372256fe670813316140038bd0bcbae97aed72f011f9a7c61ad254887061115eb
7
- data.tar.gz: bae9b53d66149440c09ad594365922504879194cd975c346989e484ac0c29af369ef442d410bc8567e17633ab5b363d603026d33deec7512e168f1d3733f8278
6
+ metadata.gz: a6925f6591349578670b4b828ec51640ee33f4a343a6dc508ae141f2d0f558c655bc2e1021ba370c9244acaaeb12713baae8be78cecd0f578f71897195c91f75
7
+ data.tar.gz: 39d15ffdb2a2d0a684c14bc42e50b794fa81daaae35da95e7ae082bc43c2ef37a0df4c9ee9cfb247df3d74486c4660701a99a0888aaa9ad2b74e57f474f7a4d6
@@ -173,6 +173,7 @@ class Morpheus::Cli::Instances
173
173
  name: instance['name'],
174
174
  connection: format_instance_connection_string(instance),
175
175
  environment: instance['instanceContext'],
176
+ user: instance['createdBy'].is_a?(Hash) ? instance['createdBy']['username'] : instance['createdBy'],
176
177
  nodes: instance['containers'].count,
177
178
  status: format_instance_status(instance, cyan),
178
179
  type: instance['instanceType']['name'],
@@ -185,7 +186,9 @@ class Morpheus::Cli::Instances
185
186
  }
186
187
  row
187
188
  }
188
- columns = [:id, {:name => {:max_width => 50}}, :group, :cloud, :type, :version, :environment,
189
+ columns = [:id, {:name => {:max_width => 50}}, :group, :cloud,
190
+ :type, :version, :environment,
191
+ {:user => {:display_name => "CREATED BY", :max_width => 20}},
189
192
  :nodes, {:connection => {:max_width => 30}}, :status, :cpu, :memory, :storage]
190
193
  # custom pretty table columns ...
191
194
  if options[:include_fields]
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "3.6.18"
4
+ VERSION = "3.6.19"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morpheus-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.18
4
+ version: 3.6.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Estes