address review comments

This commit is contained in:
Mahmood Ali
2020-01-15 08:57:05 -05:00
parent 4f36d4b308
commit 3291523d8c
4 changed files with 26 additions and 23 deletions

View File

@@ -209,6 +209,7 @@ func (s *BoltStateDB) getAllAllocations(tx *boltdd.Tx) ([]*structs.Allocation, m
// Handle upgrade path
ae.Alloc.Canonicalize()
ae.Alloc.Job.Canonicalize()
allocs = append(allocs, ae.Alloc)
}