Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Remove unused '_AllocData' type
Browse files Browse the repository at this point in the history
Summary: This got left behind as the code changed. Not used.

Test Plan: Changes

Reviewers: naphat

Reviewed By: naphat

Subscribers: changesbot, anupc

Differential Revision: https://tails.corp.dropbox.com/D225688
  • Loading branch information
kylec1 committed Sep 2, 2016
1 parent 0813f40 commit 29f0028
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions changes/api/jobstep_allocate.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import absolute_import, division, unicode_literals
import json
import logging
from collections import namedtuple
from datetime import datetime
from uuid import UUID
from flask import request
Expand All @@ -18,10 +17,6 @@
from changes.models.jobstep import JobStep
from changes.constants import DEFAULT_CPUS, DEFAULT_MEMORY_MB

# Named tuple for data from the BuildStep used to pick JobSteps to allocate,
# to make sure we don't need to refetch (and risk inconsistency).
_AllocData = namedtuple('_AllocData', ['cpus', 'memory', 'command'])


class JobStepAllocateAPIView(APIView):
def find_next_jobsteps(self, limit=10, cluster=None):
Expand Down

0 comments on commit 29f0028

Please sign in to comment.