fix(doc): Follow Go recommendations

This commit is contained in:
2025-06-26 23:53:05 +02:00
parent 72bc88661a
commit a3d1e9342f
5 changed files with 16 additions and 12 deletions

View File

@@ -90,7 +90,7 @@ func GetContainerByName(name string, containers []corev1.Container) (*corev1.Con
return nil, -1
}
// GetContainerByName returns a container by name and its index in the array.
// TplValue returns a container by name and its index in the array.
func TplValue(serviceName, variable string, pipes ...string) string {
if len(pipes) == 0 {
return `{{ tpl .Values.` + serviceName + `.` + variable + ` $ }}`