mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
kubeadm: app/util/template.go has unit tests
remove TODO because unit tests have been added
This commit is contained in:
parent
9e427c88c4
commit
318e27b68a
@ -22,7 +22,6 @@ import (
|
||||
"text/template"
|
||||
)
|
||||
|
||||
// TODO: Should be unit-tested
|
||||
func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error) {
|
||||
var buf bytes.Buffer
|
||||
tmpl, err := template.New("template").Parse(strtmpl)
|
||||
|
Loading…
Reference in New Issue
Block a user