Updating federation up scripts to work in non e2e setup

This commit is contained in:
nikhiljindal
2016-06-12 20:58:24 -07:00
parent 8bcecac12f
commit 18425172e5
3 changed files with 9 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ func main() {
}
func templateYamlFile(params map[string]string, inpath string, out io.Writer) error {
if tmpl, err := template.New(path.Base(inpath)).ParseFiles(inpath); err != nil {
if tmpl, err := template.New(path.Base(inpath)).Option("missingkey=zero").ParseFiles(inpath); err != nil {
return err
} else {
if err := tmpl.Execute(out, params); err != nil {