From 7a46737c445644c4cfe9e56668cb0e84e020784f Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 8 Jan 2022 21:02:08 +0100 Subject: [PATCH] copr-builders: two more typos --- roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 b/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 index 59a709e10e..3c6003f6ac 100755 --- a/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 +++ b/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 @@ -210,8 +210,8 @@ def detect_floating_ip_name(opts): if opts.instance == "devel": id_in_pool += 100 - opts.floating_ip_name = "copr-builder-{}".format(id_in_pool.zfill(3)) - opts.log.info("Using Floating IP copr-builder-%s", opts.floating_ip_id) + opts.floating_ip_name = "copr-builder-{}".format(str(id_in_pool).zfill(3)) + opts.log.info("Using Floating IP copr-builder-%s", opts.floating_ip_name) def _main():