Skip to content

Commit

Permalink
swith filepath.join for path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
awalker125 authored and dlorenc committed Apr 13, 2018
1 parent fc9f45f commit 6158dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/minikube/bootstrapper/kubeadm/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package kubeadm

import (
"fmt"
"path/filepath"
"path"
"sort"
"strings"

Expand Down Expand Up @@ -193,7 +193,7 @@ var versionSpecificOpts = []VersionedExtraOption{

// Auth args
NewUnversionedOption(Kubelet, "authorization-mode", "Webhook"),
NewUnversionedOption(Kubelet, "client-ca-file", filepath.Join(util.DefaultCertPath, "ca.crt")),
NewUnversionedOption(Kubelet, "client-ca-file", path.Join(util.DefaultCertPath, "ca.crt")),

// Cgroup args
NewUnversionedOption(Kubelet, "cadvisor-port", "0"),
Expand Down

0 comments on commit 6158dd4

Please sign in to comment.