basecamp / kamal

Deploy web apps anywhere.
https://kamal-deploy.org
MIT License
10.6k stars 407 forks source link

Take accessory hosts into account for --hosts #772

Closed aishek closed 5 months ago

aishek commented 5 months ago
servers:
  web:
    host: 1.2.3.5

accessories:
  service:
    host: 1.2.3.4
$ kamal accessory details service -h 1.2.3.4
  ERROR (ArgumentError): No --hosts match for 1.2.3.4

This happens because an accessory host is not included in all hosts. The PR fixes the issue.

aishek commented 5 months ago

See also https://github.com/basecamp/kamal/pull/608