github.com/manicqin/nomad@v0.9.5/ui/app/routes/allocations/allocation/task/logs.js (about)

     1  import Route from '@ember/routing/route';
     2  
     3  export default Route.extend({
     4    model() {
     5      const task = this._super(...arguments);
     6      return task && task.get('allocation.node').then(() => task);
     7    },
     8  });