Commit e7d5fb68 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Fix the VCL name of directors

Instead of looking like the backend's VCL name we only get the symbol
name in logs, unlike the CLI. This brings back the full ${vcl}.${symbol}
name everywhere.
parent 335c7516
......@@ -575,7 +575,7 @@ VRT_new_backend_clustered(VRT_CTX, struct vsmw_cluster *vc,
be->director = VRT_AddDirector(ctx,
vbp != NULL ? vbe_methods : vbe_methods_noprobe, be,
"%s", vrt->vcl_name);
"%s.%s", VCL_Name(ctx->vcl), vrt->vcl_name);
if (be->director != NULL) {
/* for cold VCL, update initial director state */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment