Skip to content

Commit 16b7d53

Browse files
authored
Merge pull request kubernetes#125047 from zhanluxianshen/clean-typos-in-kubelet
clean typos logs in kubelet.
2 parents 19d9e4f + e5c229f commit 16b7d53

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pkg/kubelet/cm/container_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ type ContainerManager interface {
120120
// PrepareDynamicResource prepares dynamic pod resources
121121
PrepareDynamicResources(*v1.Pod) error
122122

123-
// UnrepareDynamicResources unprepares dynamic pod resources
123+
// UnprepareDynamicResources unprepares dynamic pod resources
124124
UnprepareDynamicResources(*v1.Pod) error
125125

126126
// PodMightNeedToUnprepareResources returns true if the pod with the given UID

pkg/kubelet/eviction/api/types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ const (
4646
// We will override user settings and set to either imagefs or nodefs depending on configuration.
4747
SignalContainerFsAvailable Signal = "containerfs.available"
4848
// SignalContainerFsInodesFree is amount of inodes available on filesystem that container runtime uses for container writable layers.
49-
// SignalContainerFsAvailable is amount of storage available on filesystem that container runtime uses for container writable layers.
5049
// In case of a single filesystem, containerfs=nodefs.
5150
// In case of a image filesystem, containerfs=imagefs.
5251
// We will override user settings and set to either imagefs or nodefs depending on configuration.

pkg/kubelet/eviction/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
fsStatsLogs fsStatsType = "logs"
3939
// fsStatsRoot identifies stats for pod container writable layers.
4040
fsStatsRoot fsStatsType = "root"
41-
// fsStatsContainer identifies stats for pod container read-only layers
41+
// fsStatsImages identifies stats for pod container read-only layers
4242
fsStatsImages fsStatsType = "images"
4343
)
4444

0 commit comments

Comments
 (0)