Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
master
WKP-1012/update-weave-net-master
WKP-1116-kubectl-to-apiserver
WKP-1487/kubeconfig-default-dir-2
WKP-609/configurable-tests
add_tag_sign_comment
allow-low-disk
bump_capei_dep2
bump_capei_dep2_2
bump_capei_dep3
bump_capei_dep4
bump_capei_dep5
debug_ssh_key_error
dinamic_latest_capei_release
disable-hostpid
fix-spawn
fix-upgrade-centos-circleci
justin/kubernetes1.20
luxas-patch-1
make-wksctl-work-against-new-existinginfra
move-cidr
move-manifest
plan-context
release-0.9
remove-mem-limits
remove-test-yaml
test-image-update
test-updated-capei
test_both_centos_and_ubuntu_nodes
tracing
try-profiles
turn-controller-into-provider
update-examples-v1alpha3
update-gce-example-machines.yaml-generation
upgrade-flux-1-21
use-capei-at-increase-wks-controller-mem-limit
wip-tracing
v0.10.2
v0.10.1
v0.10.0
v0.9.0-rc.3
v0.9.0-rc.2
v0.9.0-rc.1
v0.9.0-beta.1
v0.9.0-alpha.4
v0.9.0-alpha.3
v0.9.0-alpha.2
v0.9.0-alpha.1
v0.9.0-alpha.0
No related merge requests found
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
Menu
Projects
Groups
Snippets
Help