Fix gofmt and golint on master, after merges

pull/7297/head
Anders F Björklund 2020-03-28 12:25:32 +01:00
parent 356e203ed4
commit 73dd9914f6
4 changed files with 4 additions and 3 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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 (
@ -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

View File

@ -164,5 +164,3 @@ func (router *osRouter) Cleanup(route *Route) error {
}
return nil
}