Fix infinite recursion in GCE provider

Providers have pools have a provider have pools...

This fix mirrors the approach from the AWS driver.

Change-Id: I33be1ba7c604754139566642ca6a863304a74e73
This commit is contained in:
Clint Byrum 2021-11-08 11:21:37 -08:00
parent e75630d5b6
commit 559e3098d1
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,8 @@ class ProviderCloudImage(ConfigValue):
class ProviderLabel(ConfigValue):
ignore_equality = ['pool']
def __init__(self):
self.name = None
self.cloud_image = None
@ -79,6 +81,8 @@ class ProviderLabel(ConfigValue):
class ProviderPool(ConfigPool):
ignore_equality = ['provider']
def __init__(self):
self.name = None
self.host_key_checking = True