mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Fix python syntax in Terraform dynamic inventory (#4643)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
4a10dca7d4
commit
6af1f65d3c
@@ -157,7 +157,7 @@ def packet_device(resource, tfvars=None):
|
|||||||
|
|
||||||
attrs = {
|
attrs = {
|
||||||
'id': raw_attrs['id'],
|
'id': raw_attrs['id'],
|
||||||
'facilities': parse_list(raw_attrs, 'facilities']),
|
'facilities': parse_list(raw_attrs, 'facilities'),
|
||||||
'hostname': raw_attrs['hostname'],
|
'hostname': raw_attrs['hostname'],
|
||||||
'operating_system': raw_attrs['operating_system'],
|
'operating_system': raw_attrs['operating_system'],
|
||||||
'locked': parse_bool(raw_attrs['locked']),
|
'locked': parse_bool(raw_attrs['locked']),
|
||||||
|
|||||||
Reference in New Issue
Block a user