Fix service identifier concatenation

This commit is contained in:
Ely Deckers 2022-02-20 22:00:05 +01:00
parent 31a0b0ad19
commit 6e7b1bb56b
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ class Commands
$maybe_service = Util::array_first(PfEnv::get_services(), function ($service) use ($sanitized_name) {
foreach (["id", "zone"] as $key) {
if (!empty($service[$key])) {
return sprintf("%s.%s", $service["name"], $service[$key]) == $sanitized_name;
return sprintf("%s%s", $service["name"], $service[$key]) == $sanitized_name;
}
}