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:
parent
e75630d5b6
commit
559e3098d1
|
@ -54,6 +54,8 @@ class ProviderCloudImage(ConfigValue):
|
||||||
|
|
||||||
|
|
||||||
class ProviderLabel(ConfigValue):
|
class ProviderLabel(ConfigValue):
|
||||||
|
ignore_equality = ['pool']
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.name = None
|
self.name = None
|
||||||
self.cloud_image = None
|
self.cloud_image = None
|
||||||
|
@ -79,6 +81,8 @@ class ProviderLabel(ConfigValue):
|
||||||
|
|
||||||
|
|
||||||
class ProviderPool(ConfigPool):
|
class ProviderPool(ConfigPool):
|
||||||
|
ignore_equality = ['provider']
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.name = None
|
self.name = None
|
||||||
self.host_key_checking = True
|
self.host_key_checking = True
|
||||||
|
|
Loading…
Reference in New Issue