Skip to content

Commit

Permalink
Merge pull request #1722 from tardyp/slaveupdate
Browse files Browse the repository at this point in the history
automatically send update message when slaves are connected/disconnected
  • Loading branch information
Mikhail Sobolev committed Jun 21, 2015
2 parents a7fe5d5 + 71b3d8e commit 4221fb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions master/buildbot/data/buildslaves.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ class Buildslave(base.ResourceType):
plural = "buildslaves"
endpoints = [BuildslaveEndpoint, BuildslavesEndpoint]
keyFields = ['buildslaveid']
eventPathPatterns = """
/buildslaves/:buildslaveid
"""

class EntityType(types.Entity):
buildslaveid = types.Integer()
Expand Down

0 comments on commit 4221fb4

Please sign in to comment.