16f7a3f31b
Protect against case where an alloc has no services and avoid dereferencing null. Here, we ensure that the model and test serializers mimic the API by having nil TaskGroup.Services instead of an empty array. |
||
---|---|---|
.. | ||
agent.js | ||
allocation.js | ||
application.js | ||
deployment.js | ||
drain-strategy.js | ||
evaluation.js | ||
fragment.js | ||
job-plan.js | ||
job-summary.js | ||
job-version.js | ||
job.js | ||
namespace.js | ||
network.js | ||
node-attributes.js | ||
node-event.js | ||
node.js | ||
policy.js | ||
reschedule-event.js | ||
resources.js | ||
service.js | ||
task-event.js | ||
task-group-deployment-summary.js | ||
task-group.js | ||
task-state.js | ||
task.js | ||
token.js |