mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 19:01:50 +02:00
Adding in examples for readme
This commit is contained in:
+2
-1
@@ -51,7 +51,8 @@ func ReadFromFile(file string) (*HelmState, error) {
|
||||
}
|
||||
|
||||
var state HelmState
|
||||
state.BaseChartPath = path.Dir(file)
|
||||
|
||||
state.BaseChartPath, _ = filepath.Abs(path.Dir(file))
|
||||
if err := yaml.Unmarshal(content, &state); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user