Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
lolz
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Oct 13, 2018
1 parent cede1f1 commit 0d029d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/acsengine/template_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func (t *TemplateGenerator) getTemplateFuncMap(cs *api.ContainerService) templat
"UseInstanceMetadata": func() bool {
return helpers.IsTrueBoolPointer(cs.Properties.OrchestratorProfile.KubernetesConfig.UseInstanceMetadata)
},
"NeedsKubeDNSPlusExecHealthz": func() bool {
"NeedsKubeDNSWithExecHealthz": func() bool {
return cs.Properties.OrchestratorProfile.NeedsExecHealthz()
},
"LoadBalancerSku": func() string {
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ func (o *OrchestratorProfile) RequireRouteTable() bool {
func (o *OrchestratorProfile) NeedsExecHealthz() bool {
return o.IsKubernetes() &&
common.IsKubernetesVersionGe(o.OrchestratorVersion, "1.7.0") &&
!common.IsKubernetesVersionGe(o.OrchestratorVersion, "1.7.0")
!common.IsKubernetesVersionGe(o.OrchestratorVersion, "1.9.0")
}

// HasAadProfile returns true if the has aad profile
Expand Down

0 comments on commit 0d029d0

Please sign in to comment.