Skip to content
Snippets Groups Projects
Unverified Commit 823bd911 authored by jayonlau's avatar jayonlau Committed by GitHub
Browse files

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.
parent 394afc95
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ class SearchEC2Tags(object): ...@@ -69,7 +69,7 @@ class SearchEC2Tags(object):
hosts[group].append(dns_name) hosts[group].append(dns_name)
hosts['_meta']['hostvars'][dns_name] = ansible_host hosts['_meta']['hostvars'][dns_name] = ansible_host
hosts['k8s_cluster'] = {'children':['kube_control_plane', 'kube_node']} hosts['k8s_cluster'] = {'children':['kube_control_plane', 'kube_node']}
print(json.dumps(hosts, sort_keys=True, indent=2)) print(json.dumps(hosts, sort_keys=True, indent=2))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment