OLD | NEW |
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 """GCE Backend instance state machine.""" | 5 """GCE Backend instance state machine.""" |
6 | 6 |
7 import collections | 7 import collections |
8 | 8 |
9 import models | 9 import models |
10 | 10 |
11 | 11 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 'pubsub_subscription_project': instance.pubsub_subscription_project, | 68 'pubsub_subscription_project': instance.pubsub_subscription_project, |
69 'pubsub_topic': instance.pubsub_topic, | 69 'pubsub_topic': instance.pubsub_topic, |
70 'pubsub_topic_project': instance.pubsub_topic_project, | 70 'pubsub_topic_project': instance.pubsub_topic_project, |
71 }, | 71 }, |
72 'update-instance-metadata', | 72 'update-instance-metadata', |
73 '/internal/queues/update-instance-metadata', | 73 '/internal/queues/update-instance-metadata', |
74 models.InstanceStates.UPDATING_METADATA, | 74 models.InstanceStates.UPDATING_METADATA, |
75 models.InstanceStates.PENDING_METADATA_UPDATE, | 75 models.InstanceStates.PENDING_METADATA_UPDATE, |
76 ), | 76 ), |
77 } | 77 } |
OLD | NEW |