From 7c153e1a646f97ff1afdecb001bea1727bf43f6b 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 }