Skip to content

Commit

Permalink
s/calico/canal
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroaleman committed Dec 17, 2018
1 parent 824d6d4 commit 8114e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/templates/canal/canal.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
func Configuration(cluster *config.Cluster) (string, error) {
tpl, err := template.New("base").Parse(canal)
if err != nil {
return "", fmt.Errorf("failed to parse calico config: %v", err)
return "", fmt.Errorf("failed to parse canal config: %v", err)
}

variables := map[string]interface{}{
Expand All @@ -21,7 +21,7 @@ func Configuration(cluster *config.Cluster) (string, error) {

buf := bytes.Buffer{}
if err := tpl.Execute(&buf, variables); err != nil {
return "", fmt.Errorf("failed to render calico config: %v", err)
return "", fmt.Errorf("failed to render canal config: %v", err)
}

return buf.String(), nil
Expand Down

0 comments on commit 8114e2e

Please sign in to comment.