Skip to content

Commit 28b0c9f

Browse files
authored
chore: fix some function names in comment (#20990)
Signed-off-by: gopherorg <gopherworld@icloud.com>
1 parent bda4dfb commit 28b0c9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/minikube/cruntime/cri.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func unpauseCRIContainers(cr CommandRunner, root string, ids []string) error {
184184
return nil
185185
}
186186

187-
// criCRIContainers kills a list of containers using crictl
187+
// killCRIContainers kills a list of containers using crictl
188188
func killCRIContainers(cr CommandRunner, ids []string) error {
189189
if len(ids) == 0 {
190190
return nil

pkg/minikube/process/process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func WritePidfile(path string, pid int) error {
3333
return os.WriteFile(path, []byte(data), pidfileMode)
3434
}
3535

36-
// ReadPid reads a pid from path.
36+
// ReadPidfile reads a pid from path.
3737
func ReadPidfile(path string) (int, error) {
3838
data, err := os.ReadFile(path)
3939
if err != nil {

0 commit comments

Comments
 (0)