update comment

This commit is contained in:
Gaël Goinvic committed 2025-10-23 14:19:57 +02:00
1 parent 8664834258
commit 25c5cbec44
1 file changed
+1 -1
+1 -1
View File
@@ -173,7 +173,7 @@ class MountedConfigMap(SourceOfMountedPaths):
@classmethod
def from_template(cls, template, volume_mount):
assert template["kind"] == "ConfigMap"
# When secret data is empty, `data:` is None, so use `get_or_empty`
# When configmap data is empty, `data:` is None, so use `get_or_empty`
template_data = get_or_empty(template, "data")
if "subPath" in volume_mount:
return cls(