Skip to content

Commit

Permalink
make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
defo89 committed Nov 14, 2024
1 parent 7eb2b4e commit e64b050
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/worker/machines_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var _ = Describe("Machines", func() {
"foo": "bar",
"foo1": "bar1",
},
metal.IgnitionFieldName: yamlString,
metal.IgnitionFieldName: yamlString,
metal.IgnitionOverrideFieldName: true,
}

Expand Down
8 changes: 3 additions & 5 deletions pkg/controller/worker/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ func SetupTest() (*corev1.Namespace, *gardener.ChartApplier) {
volumeName := "test-volume"
volumeType := "fast"


dataYml := map[string]any{
"a": map[string]any{
"b": "foo",
Expand Down Expand Up @@ -167,15 +166,14 @@ func SetupTest() (*corev1.Namespace, *gardener.ChartApplier) {
ExtraServerLabels: map[string]string{
"foo1": "bar1",
},
ExtraIgnition: &apiv1alpha1.IgnitionConfig{

ExtraIgnition: &apiv1alpha1.IgnitionConfig{
Raw: yamlString,
SecretRef: &corev1.LocalObjectReference{
Name: ign.Name,
},
Override: true,
},

},
}
workerConfigJSON, _ = json.Marshal(workerConfig)

Expand Down

0 comments on commit e64b050

Please sign in to comment.