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

Side by Side Diff: appengine/machine_provider/handlers_endpoints.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Swarming Authors. All rights reserved. 1 # Copyright 2015 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Cloud endpoints for the Machine Provider API.""" 5 """Cloud endpoints for the Machine Provider API."""
6 6
7 import hashlib 7 import hashlib
8 import json 8 import json
9 import logging 9 import logging
10 10
11 import endpoints 11 import endpoints
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 request_hash, 503 request_hash,
504 ) 504 )
505 return rpc_messages.LeaseReleaseRequestError.ALREADY_RECLAIMED 505 return rpc_messages.LeaseReleaseRequestError.ALREADY_RECLAIMED
506 logging.info('Releasing LeaseRequest: %s', request_hash) 506 logging.info('Releasing LeaseRequest: %s', request_hash)
507 request.released = True 507 request.released = True
508 request.put() 508 request.put()
509 509
510 510
511 def create_endpoints_app(): 511 def create_endpoints_app():
512 return endpoints.api_server([CatalogEndpoints, MachineProviderEndpoints]) 512 return endpoints.api_server([CatalogEndpoints, MachineProviderEndpoints])
OLDNEW
« no previous file with comments | « appengine/machine_provider/handlers_cron_test.py ('k') | appengine/machine_provider/handlers_endpoints_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698