github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/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  });