mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-17 19:33:29 +02:00
@@ -172,6 +172,10 @@ func (c *Context) ReadFile(filename string) (string, error) {
|
||||
path = filepath.Join(c.basePath, filename)
|
||||
}
|
||||
|
||||
if c.readFile == nil {
|
||||
return "", fmt.Errorf("readFile is not implemented")
|
||||
}
|
||||
|
||||
bytes, err := c.readFile(path)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user