Remove duplicated states from zk.py

Zuul defines the node states within model.py. The states in zk.py
are a holdover from copied code from the nodepool code base and
are not used. Let's just have a single place for the states.

Change-Id: I3f0cd40a04040baffbc04895049e7472ad30bf4b
This commit is contained in:
David Shrewsbury 2017-07-31 11:22:21 -04:00
parent ffab07a844
commit 955799b377
1 changed files with 0 additions and 11 deletions

View File

@ -23,17 +23,6 @@ from kazoo.recipe.lock import Lock
import zuul.model
# States:
# We are building this node but it is not ready for use.
BUILDING = 'building'
# The node is ready for use.
READY = 'ready'
# The node should be deleted.
DELETING = 'deleting'
STATES = set([BUILDING, READY, DELETING])
class LockException(Exception):
pass