From a49542010e78e53ec328ee2a0833f2ccb69ea264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vitor=20Paes=20de=20Barros=20do=20Carmo?= Date: Mon, 18 Nov 2024 17:48:51 +0000 Subject: [PATCH] docs: correcting the method name --- pkg/transformer/kubernetes/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/transformer/kubernetes/kubernetes.go b/pkg/transformer/kubernetes/kubernetes.go index 634c0a871..e43f78525 100644 --- a/pkg/transformer/kubernetes/kubernetes.go +++ b/pkg/transformer/kubernetes/kubernetes.go @@ -332,7 +332,7 @@ func initConfigMapData(configMap *api.ConfigMap, data map[string]string) { configMap.BinaryData = binData } -// InitConfigMapFromFile initializes a ConfigMap object +// InitConfigMapFromContent initializes a ConfigMap object func (k *Kubernetes) InitConfigMapFromContent(name string, service kobject.ServiceConfig, content string, currentConfigName string, target string) *api.ConfigMap { configMap := &api.ConfigMap{ TypeMeta: metav1.TypeMeta{