1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

Merge pull request #2972 from wking/drop-rhcos-update-f-string

hack/update-rhcos-bootimage: Drop the f-string
This commit is contained in:
OpenShift Merge Robot
2020-04-15 00:10:24 +02:00
committed by GitHub

View File

@@ -34,7 +34,7 @@ newmeta['amis'] = {
}
newmeta['baseURI'] = urllib.parse.urljoin(args.meta, '.')
with open(os.path.join(metadata_dir, f"rhcos-{args.arch}.json"), 'w') as f:
with open(os.path.join(metadata_dir, 'rhcos-{}.json'.format(args.arch)), 'w') as f:
json.dump(newmeta, f, sort_keys=True, indent=4)
# Continue to populate the legacy metadata file because there are still