Permalink
Browse files

Bug 917605

Tweak port forwarding output header to clarify the intention
  • Loading branch information...
1 parent 10dbac1 commit 6cb077c640a2be5f7b0e79ccea4ba12312c883fd @BanzaiMan BanzaiMan committed Mar 6, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rhc/commands/port_forward.rb
View
3 lib/rhc/commands/port_forward.rb
@@ -141,10 +141,11 @@ def run(app)
bound_ports = forwarding_specs.select(&:bound?)
if bound_ports.length > 0
+ say "Use Local address to access the service"
items = bound_ports.map do |fs|
[fs.service, "#{fs.host_from}:#{fs.port_from}", " => ", "#{fs.remote_host}:#{fs.port_to.to_s}"]
end
- table(items, :header => ["Service", "Connect to", " ", "Forward to"]).each { |s| success " #{s}" }
+ table(items, :header => ["Service", "Local", " ", "OpenShift"]).each { |s| success " #{s}" }
end
# for failed port forwarding attempts

0 comments on commit 6cb077c

Please sign in to comment.