Browse Source

Clean up extra spaces of kubespray-aws-inventory.py (#7774)

Clean up extra spaces, although these errors are not important, they affect the code specification.
pull/7785/head
jayonlau 3 years ago
committed by GitHub
parent
commit
823bd9118e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      contrib/aws_inventory/kubespray-aws-inventory.py

2
contrib/aws_inventory/kubespray-aws-inventory.py

@ -69,7 +69,7 @@ class SearchEC2Tags(object):
hosts[group].append(dns_name)
hosts['_meta']['hostvars'][dns_name] = ansible_host
hosts['k8s_cluster'] = {'children':['kube_control_plane', 'kube_node']}
print(json.dumps(hosts, sort_keys=True, indent=2))

Loading…
Cancel
Save