mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 10:24:35 +02:00
fix: Keep backward-compatibility broken after introduction of values file template (#257)
Fixes #249
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
package tmpl
|
||||
|
||||
import "io/ioutil"
|
||||
|
||||
var DefaultContext *Context
|
||||
|
||||
func init() {
|
||||
DefaultContext = &Context{
|
||||
readFile: ioutil.ReadFile,
|
||||
}
|
||||
}
|
||||
|
||||
type Context struct {
|
||||
readFile func(string) ([]byte, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user