Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: appengine/swarming/swarming_rpcs.py

Issue 2402543002: Create a BotEvent when a bot is leased from Machine Provider (Closed)
Patch Set: Fix tests Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/server/lease_management.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/swarming_rpcs.py
diff --git a/appengine/swarming/swarming_rpcs.py b/appengine/swarming/swarming_rpcs.py
index 5790bc487f7e57c8e0800e0b6e0d6b0be1957c4a..ba4f4184922055a507643a91e254f3e99e514beb 100644
--- a/appengine/swarming/swarming_rpcs.py
+++ b/appengine/swarming/swarming_rpcs.py
@@ -453,6 +453,8 @@ class BotInfo(messages.Message):
version = messages.StringField(11)
# Encoded as json since it's an arbitrary dict.
state = messages.StringField(12)
+ lease_id = messages.StringField(13)
+ lease_expiration_ts = message_types.DateTimeField(14)
class BotList(messages.Message):
« no previous file with comments | « appengine/swarming/server/lease_management.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698