Skip to content

Commit

Permalink
Merge pull request #65 from UKHomeOffice/keto-labels-fix
Browse files Browse the repository at this point in the history
Reference new keto hash with Labels and Taints fix.
  • Loading branch information
KashifSaadat authored Jul 25, 2017
2 parents 5c416e8 + 9d3bee3 commit 9f60577
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import:
- package: k8s.io/kubernetes
version: 1.7.0
- package: github.com/UKHomeOffice/keto
version: bf6f3e7be4a84e3ecf3af89b28b134e5c26a09ea
version: 6ff4f181d8e9e9234658f907a706ab15ea8d7a93
4 changes: 2 additions & 2 deletions pkg/kmm/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (k *Kmm) CreateAndStartKubelet(master bool) error {
for k, v := range k.NodeLabels {
s = append(s, fmt.Sprintf("%s=%s", k, v))
}
nodeLables := strings.Join(s, ",")
nodeLabels := strings.Join(s, ",")
s = []string{}
for k, v := range k.NodeTaints {
s = append(s, fmt.Sprintf("%s=%s", k, v))
Expand All @@ -42,7 +42,7 @@ func (k *Kmm) CreateAndStartKubelet(master bool) error {
IsMaster: master,
KubeVersion: k.KubeadmCfg.KubeVersion,
KubeletExtraArgs: k.KubeletExtraArgs,
NodeLabels: nodeLables,
NodeLabels: nodeLabels,
NodeTaints: nodeTaints,
}
t := template.Must(template.New("kubeletUnit").Parse(kubeletTemplate))
Expand Down

0 comments on commit 9f60577

Please sign in to comment.