kubeadm: app/util/template.go has unit tests

remove TODO because unit tests have been added
parent 9e427c88
...@@ -22,7 +22,6 @@ import ( ...@@ -22,7 +22,6 @@ import (
"text/template" "text/template"
) )
// TODO: Should be unit-tested
func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error) { func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error) {
var buf bytes.Buffer var buf bytes.Buffer
tmpl, err := template.New("template").Parse(strtmpl) tmpl, err := template.New("template").Parse(strtmpl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment