From 407a8631ed3f4dd50469b244e5c5bbb61541277a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Mon, 3 Oct 2022 15:15:53 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Typo=20in=20variable=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prepare-vms/map-dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare-vms/map-dns.py b/prepare-vms/map-dns.py index caef1ff7..9601ae74 100755 --- a/prepare-vms/map-dns.py +++ b/prepare-vms/map-dns.py @@ -36,7 +36,7 @@ if os.path.isfile(domain_or_domain_file): clusters = [line.split() for line in lines] else: ips = open(f"tags/{ips_file_or_tag}/ips.txt").read().split() - settings_file = f"tags/{tag}/settings.yaml" + settings_file = f"tags/{ips_file_or_tag}/settings.yaml" clustersize = yaml.safe_load(open(settings_file))["clustersize"] clusters = [] while ips: