Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wksctl
Commits
0d6db22d
Commit
0d6db22d
authored
5 years ago
by
Bryan Boreham
Browse files
Options
Download
Email Patches
Plain Diff
fix up function to write manifest from machine lists
parent
212ff954
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/cluster/machine/machines_manifest.go
+1
-1
pkg/cluster/machine/machines_manifest.go
with
1 addition
and
1 deletion
+1
-1
pkg/cluster/machine/machines_manifest.go
+
1
-
1
View file @
0d6db22d
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment