Skip to content

Commit

Permalink
Merge pull request #20057 from cuiyourong/master
Browse files Browse the repository at this point in the history
chore: fix some function names in comment
  • Loading branch information
spowelljr authored Dec 10, 2024
2 parents bccf50e + 5fbef41 commit 48fccf0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/addons/addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ func ToEnable(cc *config.ClusterConfig, existing map[string]bool, additional []s
return enable
}

// UpdateConfig tries to update config with all enabled addons (not thread-safe).
// UpdateConfigToEnable tries to update config with all enabled addons (not thread-safe).
// Any error will be logged and it will continue.
func UpdateConfigToEnable(cc *config.ClusterConfig, enabled []string) {
for _, a := range enabled {
Expand Down
4 changes: 2 additions & 2 deletions pkg/minikube/logs/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func Output(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.Cluster
}
}

// outputAudit displays the audit logs.
// OutputAudit displays the audit logs.
func OutputAudit(lines int) error {
out.Styled(style.None, "")
out.Styled(style.None, "==> Audit <==")
Expand All @@ -218,7 +218,7 @@ func OutputAudit(lines int) error {
return nil
}

// outputLastStart outputs the last start logs.
// OutputLastStart outputs the last start logs.
func OutputLastStart() error {
out.Styled(style.None, "")
out.Styled(style.None, "==> Last Start <==")
Expand Down
2 changes: 1 addition & 1 deletion test/integration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func PodmanDriver() bool {
return strings.Contains(*startArgs, "--driver=podman") || strings.Contains(*startArgs, "--vm-driver=podman")
}

// Rootless returns whether or not this test is using the rootless KIC driver
// RootlessDriver returns whether or not this test is using the rootless KIC driver
func RootlessDriver() bool {
return strings.Contains(*startArgs, "--rootless")
}
Expand Down

0 comments on commit 48fccf0

Please sign in to comment.