Skip to content

Commit

Permalink
Remove DNSClientConfig from Subnet CRD definition (vmware-tanzu#715)
Browse files Browse the repository at this point in the history
In the PR:
vmware-tanzu#604
we have removed DNS-related config settings from subnet CRD.
However, DNSClientConfig struct is not deleted.
This PR is to remove this omitted struct definition.
  • Loading branch information
timdengyun authored Aug 22, 2024
1 parent 3181310 commit b2e5395
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
5 changes: 0 additions & 5 deletions pkg/apis/vpc/v1alpha1/subnet_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ type DHCPConfig struct {
EnableDHCP bool `json:"enableDHCP,omitempty"`
}

// DNSClientConfig holds DNS configurations.
type DNSClientConfig struct {
DNSServersIPs []string `json:"dnsServersIPs,omitempty"`
}

func init() {
SchemeBuilder.Register(&Subnet{}, &SubnetList{})
}
20 changes: 0 additions & 20 deletions pkg/apis/vpc/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b2e5395

Please sign in to comment.