Add destination to healthcheck containers names

This commit is contained in:
Tobias Bühlmann
2023-03-06 16:54:13 +01:00
parent 170562c7e7
commit 8b913068de
3 changed files with 42 additions and 4 deletions

View File

@@ -33,11 +33,11 @@ class Mrsk::Commands::Healthcheck < Mrsk::Commands::Base
private
def container_name
"healthcheck-#{config.service}"
[ "healthcheck", config.service, config.destination ].compact.join("-")
end
def container_name_with_version
"healthcheck-#{config.service_with_version}"
"#{container_name}-#{config.version}"
end
def container_id