Commit 0d6db22d authored by Bryan Boreham's avatar Bryan Boreham
Browse files

fix up function to write manifest from machine lists

parent 212ff954
Showing with 1 addition and 1 deletion
+1 -1
...@@ -52,7 +52,7 @@ func UpdateWithGeneratedNames(r io.ReadCloser) (string, error) { ...@@ -52,7 +52,7 @@ func UpdateWithGeneratedNames(r io.ReadCloser) (string, error) {
var buf strings.Builder var buf strings.Builder
err = WriteMachines(&buf, machines, bml) err = WriteMachines(&buf, machines, bml)
return buf.String(), nil return buf.String(), err
} }
func WriteMachines(w io.Writer, machines []*clusterv1.Machine, bml []*baremetalspecv1.BareMetalMachine) error { func WriteMachines(w io.Writer, machines []*clusterv1.Machine, bml []*baremetalspecv1.BareMetalMachine) error {
......
Supports Markdown
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