Skip to content

Commit

Permalink
cleanups from PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
killianmuldoon committed Oct 21, 2021
1 parent 1331e55 commit a4ffbb1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/builder/builders.go
Expand Up @@ -537,9 +537,6 @@ func (i *InfrastructureClusterBuilder) Build() *unstructured.Unstructured {
obj.SetNamespace(i.namespace)
obj.SetName(i.name)

// Initialize the spec.template.spec to make the object valid in reconciliation.
setSpecFields(obj, map[string]interface{}{"spec.template.spec": map[string]interface{}{}})

setSpecFields(obj, i.specFields)
return obj
}
Expand Down

0 comments on commit a4ffbb1

Please sign in to comment.