Skip to content

Commit c618f59

Browse files
authored
Merge pull request #18492 from depthlending/master
chore: fix function names
2 parents 7821be0 + f468a98 commit c618f59

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

pkg/minikube/cruntime/cri.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func listCRIContainers(cr CommandRunner, root string, o ListContainersOptions) (
140140
return fids, nil
141141
}
142142

143-
// pauseContainers pauses a list of containers
143+
// pauseCRIContainers pauses a list of containers
144144
func pauseCRIContainers(cr CommandRunner, root string, ids []string) error {
145145
baseArgs := []string{"runc"}
146146
if root != "" {

pkg/minikube/download/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func download(src, dst string) error {
111111
return os.Rename(tmpDst, dst)
112112
}
113113

114-
// withinUnitTset detects if we are in running within a unit-test
114+
// withinUnitTest detects if we are in running within a unit-test
115115
func withinUnitTest() bool {
116116
// Nope, it's the integration test
117117
if flag.Lookup("minikube-start-args") != nil || strings.HasPrefix(filepath.Base(os.Args[0]), "e2e-") {

pkg/minikube/machine/fix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func maybeWarnAboutEvalEnv(drver string, name string) {
186186
}
187187
}
188188

189-
// ensureGuestClockSync ensures that the guest system clock is relatively in-sync
189+
// ensureSyncedGuestClock ensures that the guest system clock is relatively in-sync
190190
func ensureSyncedGuestClock(h hostRunner, drv string) error {
191191
if !driver.IsVM(drv) {
192192
return nil
@@ -230,7 +230,7 @@ func guestClockDelta(h hostRunner, local time.Time) (time.Duration, error) {
230230
return d, nil
231231
}
232232

233-
// adjustSystemClock adjusts the guest system clock to be nearer to the host system clock
233+
// adjustGuestClock adjusts the guest system clock to be nearer to the host system clock
234234
func adjustGuestClock(h hostRunner, t time.Time) error {
235235
out, err := h.RunSSHCommand(fmt.Sprintf("sudo date -s @%d", t.Unix()))
236236
klog.Infof("clock set: %s (err=%v)", out, err)

pkg/minikube/tunnel/kic/ssh_tunnel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (t *SSHTunnel) stopMarkedConnections() {
187187
}
188188
}
189189

190-
// sshConnName creates a uniq name for the tunnel, using its name/clusterIP/ports.
190+
// sshConnUniqName creates a uniq name for the tunnel, using its name/clusterIP/ports.
191191
// This allows a new process to be created if an existing service was changed,
192192
// the new process will support the IP/Ports change occurred.
193193
func sshConnUniqName(service v1.Service) string {

0 commit comments

Comments
 (0)