Skip to content

Commit

Permalink
Replace alecthomas/template with text/template
Browse files Browse the repository at this point in the history
  • Loading branch information
xmudrii committed Feb 14, 2019
1 parent ca077aa commit c3a4605
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 4,312 deletions.
12 changes: 0 additions & 12 deletions Gopkg.lock

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

4 changes: 0 additions & 4 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
name = "github.com/Masterminds/semver"
version = "1.4.2"

[[constraint]]
branch = "master"
name = "github.com/alecthomas/template"

[[constraint]]
name = "github.com/sirupsen/logrus"
version = "1.2.0"
Expand Down
3 changes: 1 addition & 2 deletions pkg/installer/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ package util
import (
"bytes"
"fmt"

"github.com/alecthomas/template"
"text/template"
)

// TemplateVariables is a render context for templates
Expand Down
3 changes: 1 addition & 2 deletions pkg/templates/canal/canal.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ import (
"bytes"
"errors"
"fmt"
"text/template"

"github.com/kubermatic/kubeone/pkg/installer/util"
"github.com/kubermatic/kubeone/pkg/templates"

rbacv1 "k8s.io/api/rbac/v1"
apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"

"github.com/alecthomas/template"
)

const (
Expand Down
27 changes: 0 additions & 27 deletions vendor/github.com/alecthomas/template/LICENSE

This file was deleted.

Loading

0 comments on commit c3a4605

Please sign in to comment.