github.com/zoomfoo/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/ui/app/serializers/task-group-deployment-summary.js (about) 1 import ApplicationSerializer from './application'; 2 3 export default ApplicationSerializer.extend({ 4 normalize(typeHash, hash) { 5 hash.PlacedCanaryAllocations = hash.PlacedCanaries || []; 6 delete hash.PlacedCanaries; 7 return this._super(typeHash, hash); 8 }, 9 });