Replaced Kamal::Commands::Proxy::Exec with Kamal::Commands::App::Proxy and Kamal::Commands::Accessory::Proxy

This commit is contained in:
Igor Alexandrov
2024-11-21 23:07:55 +04:00
parent 14068b32b1
commit f367ca8ea5
4 changed files with 20 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
class Kamal::Commands::Accessory < Kamal::Commands::Base
include Kamal::Commands::Proxy::Exec
include Proxy
attr_reader :accessory_config
delegate :service_name, :image, :hosts, :port, :files, :directories, :cmd,
@@ -111,10 +111,6 @@ class Kamal::Commands::Accessory < Kamal::Commands::Base
end
private
def proxy_deploy_command_args(target:)
proxy.deploy_command_args(target: target)
end
def service_filter
[ "--filter", "label=service=#{service_name}" ]
end