vmc-tsuru 0.2.alpha → 0.3.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cli/commands/apps.rb +2 -2
- data/lib/cli/version.rb +1 -1
- data/lib/vmc/client.rb +1 -1
- metadata +1 -1
data/lib/cli/commands/apps.rb
CHANGED
@@ -25,10 +25,10 @@ module VMC::Cli::Command
|
|
25
25
|
|
26
26
|
apps_table = table do |t|
|
27
27
|
#t.headings = 'Application', '# ', 'Health', 'URLS', 'Services'
|
28
|
-
t.headings = 'Application', 'State'
|
28
|
+
t.headings = 'Application', 'State', 'Ip'
|
29
29
|
apps.each do |app|
|
30
30
|
#t << [app[:name], app[:instances], health(app), app[:uris].join(', '), app[:services].join(', ')]
|
31
|
-
t << [app[:Name], app[:State]]
|
31
|
+
t << [app[:Name], app[:State], app[:Ip]]
|
32
32
|
end
|
33
33
|
end
|
34
34
|
display apps_table
|
data/lib/cli/version.rb
CHANGED
data/lib/vmc/client.rb
CHANGED
@@ -236,7 +236,7 @@ class VMC::Client
|
|
236
236
|
service: service,
|
237
237
|
app: appname
|
238
238
|
}
|
239
|
-
json_post("http://tsuru.plataformas.glb.com:4000/services/
|
239
|
+
json_post("http://tsuru.plataformas.glb.com:4000/services/unbind", bind_hash)
|
240
240
|
end
|
241
241
|
|
242
242
|
######################################################
|