Skip to content

Commit be59d17

Browse files
committed
chore:typo fix
1 parent af48431 commit be59d17

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

operator/handler/handler.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ func (e PodExtender) extendPod(ctx context.Context, pod *corev1.Pod, tailingSide
190190
EmptyDir: &corev1.EmptyDirVolumeSource{}},
191191
})
192192

193-
otelLogsVolumneName := fmt.Sprintf(sidecarOtelLogsVolumeName, sidecarsCount)
193+
otelLogsVolumeName := fmt.Sprintf(sidecarOtelLogsVolumeName, sidecarsCount)
194194
otelCollectorLogsPath := fmt.Sprintf(sidecarOtelLogsPath, sidecarsCount)
195195

196196
otelFileStorageVolumeName := fmt.Sprintf(sidecarOtelFileStorageVolumeName, sidecarsCount)
197197
otelFileStoragePath := fmt.Sprintf(sidecarOtelFileStoragePath, sidecarsCount)
198198

199199
pod.Spec.Volumes = append(pod.Spec.Volumes,
200200
corev1.Volume{
201-
Name: otelLogsVolumneName,
201+
Name: otelLogsVolumeName,
202202
VolumeSource: corev1.VolumeSource{
203203
EmptyDir: &corev1.EmptyDirVolumeSource{}},
204204
})
@@ -230,7 +230,7 @@ func (e PodExtender) extendPod(ctx context.Context, pod *corev1.Pod, tailingSide
230230
},
231231

232232
{
233-
Name: otelLogsVolumneName,
233+
Name: otelLogsVolumeName,
234234
MountPath: otelCollectorLogsPath,
235235
},
236236
}

0 commit comments

Comments
 (0)