From 60511727833409c3ce8c8b00c9eac57d4a111272 Mon Sep 17 00:00:00 2001 From: luchenhan Date: Tue, 14 Jan 2025 11:56:58 +0800 Subject: [PATCH] chore: fix struct field name in comment Signed-off-by: luchenhan --- pkg/minikube/reason/k8s.go | 2 +- pkg/minikube/tests/ssh_mock.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/reason/k8s.go b/pkg/minikube/reason/k8s.go index 20c09a76f198..115444faa8ad 100644 --- a/pkg/minikube/reason/k8s.go +++ b/pkg/minikube/reason/k8s.go @@ -20,7 +20,7 @@ import "github.com/blang/semver/v4" // K8sIssue represents a known issue with a particular version of Kubernetes type K8sIssue struct { - // VersionAffected is the list of Kubernetes versions that has a particular issue + // VersionsAffected is the list of Kubernetes versions that has a particular issue VersionsAffected []string // Description is what will be printed to the user describing the issue Description string diff --git a/pkg/minikube/tests/ssh_mock.go b/pkg/minikube/tests/ssh_mock.go index dc14f84703d7..601747177f0d 100644 --- a/pkg/minikube/tests/ssh_mock.go +++ b/pkg/minikube/tests/ssh_mock.go @@ -41,7 +41,7 @@ type SSHServer struct { Transfers *bytes.Buffer // Only access this with atomic ops hadASessionRequested int32 - // commandsToOutput can be used to mock what the SSHServer returns for a given command + // commandToOutput can be used to mock what the SSHServer returns for a given command // Only access this with atomic ops commandToOutput atomic.Value