morpheus-cli 3.6.18 → 3.6.19
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/lib/morpheus/cli/instances.rb +4 -1
- data/lib/morpheus/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7625ff08336d82d703250fb5fa4c588d847245dbba288dfef1cd47dbf5b30784
|
|
4
|
+
data.tar.gz: a6ec55b6be3acab8f3ca56cb8121e0d0faad4f363ccf3464814a00fedc013188
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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,
|
|
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]
|
data/lib/morpheus/cli/version.rb
CHANGED