recreate in another branch due to rebase problem (#5557)

pull/5560/head
gatolynx 2020-01-18 19:23:35 +09:00 committed by Kubernetes Prow Robot
parent 5d9986ab5f
commit 5323e232b2
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class KubesprayInventory(object):
if self.config_file:
try:
self.hosts_file = open(config_file, 'r')
self.yaml_config = yaml.load(self.hosts_file)
self.yaml_config = yaml.load_all(self.hosts_file)
except OSError:
pass