From f5ffda75f69901c8c33bd080b0036393020ae83a Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 6 Dec 2024 08:57:48 -0600 Subject: [PATCH] change ambiguous variable name This is a flake8 lint. Change-Id: I1701f86c3b9ab759408a759787fb4fb3bd2825f3 Signed-off-by: Doug Goldstein --- ironic/api/controllers/link.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ironic/api/controllers/link.py b/ironic/api/controllers/link.py index 490a78ab5b..56366606d2 100644 --- a/ironic/api/controllers/link.py +++ b/ironic/api/controllers/link.py @@ -33,10 +33,10 @@ def make_link(rel_name, url, resource, resource_args, """Build a dict representing a link""" href = build_url(resource, resource_args, bookmark=bookmark, base_url=url) - l = { + link = { 'href': href, 'rel': rel_name } if type: - l['type'] = type - return l + link['type'] = type + return link