From 0a5fd78e0b91bcbfce843bf3692be077a369c0c2 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Thu, 9 Jan 2020 08:34:19 -0500 Subject: [PATCH] client: canonicalize alloc runner on RPC --- client/client.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/client.go b/client/client.go index fe7447dca..f23cc1efd 100644 --- a/client/client.go +++ b/client/client.go @@ -1995,6 +1995,10 @@ OUTER: // Ensure that we received all the allocations we wanted pulledAllocs = make(map[string]*structs.Allocation, len(allocsResp.Allocs)) for _, alloc := range allocsResp.Allocs { + + // handle an old Server + alloc.Canonicalize() + pulledAllocs[alloc.ID] = alloc }