Skip to content

Commit

Permalink
Merge pull request #7297 from afbjorklund/cleanup-master
Browse files Browse the repository at this point in the history
Fix gofmt and golint on master, after merges
  • Loading branch information
afbjorklund authored Mar 28, 2020
2 parents 356e203 + 73dd991 commit 1e70286
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions pkg/minikube/bootstrapper/bsutil/kverify/kverify.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func WaitForHealthyAPIServer(r cruntime.Manager, bs bootstrapper.Bootstrapper, c
return nil
}

// APIServerVersionMatch checks if the server version matches the expected
func APIServerVersionMatch(client *kubernetes.Clientset, expected string) error {
vi, err := client.ServerVersion()
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions pkg/minikube/bootstrapper/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func SetupCerts(cmd command.Runner, k8s config.KubernetesConfig, n config.Node)
return copyableFiles, nil
}

// CACerts has cert and key for CA (and Proxy)
type CACerts struct {
caCert string
caKey string
Expand Down
3 changes: 2 additions & 1 deletion pkg/minikube/mustload/mustload.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// mustload loads minikube clusters, exiting with user-friendly messages
// Package mustload loads minikube clusters, exiting with user-friendly messages
package mustload

import (
Expand All @@ -37,6 +37,7 @@ import (
"k8s.io/minikube/pkg/minikube/out"
)

// ClusterController holds all the needed information for a minikube cluster
type ClusterController struct {
Config *config.ClusterConfig
API libmachine.API
Expand Down
2 changes: 0 additions & 2 deletions pkg/minikube/tunnel/route_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,3 @@ func (router *osRouter) Cleanup(route *Route) error {
}
return nil
}


0 comments on commit 1e70286

Please sign in to comment.