Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

retain client information with caldecott helpers

Change-Id: I61b799fef2d9a2e121472f5809df04fc16b1c6f0
  • Loading branch information...
commit e9a1b08dd8e06efb8677fecc51b058a44f6e41e3 1 parent 9ce4954
@vito vito authored
Showing with 11 additions and 3 deletions.
  1. +11 −3 lib/cli/tunnel_helper.rb
View
14 lib/cli/tunnel_helper.rb
@@ -304,21 +304,29 @@ def push_caldecott(token)
}
)
- Command::Apps.new(@options).send(:upload_app_bits, tunnel_appname, HELPER_APP)
+ apps_cmd.send(:upload_app_bits, tunnel_appname, HELPER_APP)
invalidate_tunnel_app_info
end
def stop_caldecott
- Command::Apps.new(@options).stop(tunnel_appname)
+ apps_cmd.stop(tunnel_appname)
invalidate_tunnel_app_info
end
def start_caldecott
- Command::Apps.new(@options).start(tunnel_appname)
+ apps_cmd.start(tunnel_appname)
invalidate_tunnel_app_info
end
+
+ private
+
+ def apps_cmd
+ a = Command::Apps.new(@options)
+ a.client client
+ a
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.