Skip to content

Commit

Permalink
Remove DNSClientConfig from Subnet CRD definition
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 committed Aug 22, 2024
1 parent 33c84f2 commit 65011ff
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 65011ff

Please sign in to comment.