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

correct typo: kubernetesAritfacts/15 to kubernetesArtifacts/15 #1898

Merged
merged 1 commit into from
Dec 8, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions pkg/acsengine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ var kubernetesManifestYamls = map[string]string{
"MASTER_KUBERNETES_ADDON_MANAGER_B64_GZIP_STR": "k8s/kubernetesmaster-kube-addon-manager.yaml",
}

var kubernetesAritfacts = map[string]string{
var kubernetesArtifacts = map[string]string{
"MASTER_PROVISION_B64_GZIP_STR": kubernetesMasterCustomScript,
"MASTER_GENERATE_PROXY_CERTS_B64_GZIP_STR": kubernetesMasterGenerateProxyCertsScript,
"KUBELET_SERVICE_B64_GZIP_STR": kubernetesKubeletService,
}

var kubernetesAritfacts15 = map[string]string{
var kubernetesArtifacts15 = map[string]string{
"MASTER_PROVISION_B64_GZIP_STR": kubernetesMasterCustomScript,
"MASTER_GENERATE_PROXY_CERTS_B64_GZIP_STR": kubernetesMasterGenerateProxyCertsScript,
"KUBELET_SERVICE_B64_GZIP_STR": "k8s/kuberneteskubelet1.5.service",
Expand Down Expand Up @@ -1012,9 +1012,9 @@ func (t *TemplateGenerator) getTemplateFuncMap(cs *api.ContainerService) templat
// add artifacts and addons
var artifiacts map[string]string
if strings.HasPrefix(profile.OrchestratorProfile.OrchestratorVersion, "1.5.") {
artifiacts = kubernetesAritfacts15
artifiacts = kubernetesArtifacts15
} else {
artifiacts = kubernetesAritfacts
artifiacts = kubernetesArtifacts
}
for placeholder, filename := range artifiacts {
addonTextContents := getBase64CustomScript(filename)
Expand Down Expand Up @@ -1069,9 +1069,9 @@ func (t *TemplateGenerator) getTemplateFuncMap(cs *api.ContainerService) templat
// add artifacts
var artifiacts map[string]string
if strings.HasPrefix(cs.Properties.OrchestratorProfile.OrchestratorVersion, "1.5.") {
artifiacts = kubernetesAritfacts15
artifiacts = kubernetesArtifacts15
} else {
artifiacts = kubernetesAritfacts
artifiacts = kubernetesArtifacts
}
for placeholder, filename := range artifiacts {
addonTextContents := getBase64CustomScript(filename)
Expand Down