| OLD | NEW |
| 1 # Copyright 2016 The LUCI Authors. All rights reserved. | 1 # Copyright 2016 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 under the Apache License, Version 2.0 |
| 3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 """Utilities for operating on instance group managers.""" | 5 """Utilities for operating on instance group managers.""" |
| 6 | 6 |
| 7 import logging | 7 import logging |
| 8 | 8 |
| 9 from google.appengine.ext import ndb | 9 from google.appengine.ext import ndb |
| 10 | 10 |
| 11 from components import gce | 11 from components import gce |
| 12 from components import net | 12 from components import net |
| 13 from components import utils | 13 from components import utils |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 '/internal/queues/resize-instance-group', | 318 '/internal/queues/resize-instance-group', |
| 319 'resize-instance-group', | 319 'resize-instance-group', |
| 320 params={ | 320 params={ |
| 321 'key': instance_group_manager_key.urlsafe(), | 321 'key': instance_group_manager_key.urlsafe(), |
| 322 }, | 322 }, |
| 323 ): | 323 ): |
| 324 logging.warning( | 324 logging.warning( |
| 325 'Failed to enqueue task for InstanceGroupManager: %s', | 325 'Failed to enqueue task for InstanceGroupManager: %s', |
| 326 instance_group_manager_key, | 326 instance_group_manager_key, |
| 327 ) | 327 ) |
| OLD | NEW |