From 99a1e3c2140575eb46ec95826a74b578cb619e68 Mon Sep 17 00:00:00 2001 From: LALITH0110 Date: Fri, 31 Jul 2026 10:52:38 -0500 Subject: [PATCH] Fix parameter name in ConfigMapLock.create docstring The docstring documented `:param electionRecord:`, but the parameter is named `election_record`. The documented name did not exist on the method, and the real one was left undocumented. --- kubernetes/base/leaderelection/resourcelock/configmaplock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/base/leaderelection/resourcelock/configmaplock.py b/kubernetes/base/leaderelection/resourcelock/configmaplock.py index 2dde0d8f18..c2f1e1cc67 100644 --- a/kubernetes/base/leaderelection/resourcelock/configmaplock.py +++ b/kubernetes/base/leaderelection/resourcelock/configmaplock.py @@ -73,7 +73,7 @@ def get(self, name, namespace): def create(self, name, namespace, election_record): """ - :param electionRecord: Annotation string + :param election_record: Annotation string :param name: Name of the configmap object to be created :param namespace: Namespace in which the configmap object is to be created :return: 'True' if object is created else 'False' if failed