File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,6 @@ type LibvirtNetwork struct {
128
128
Name string ` json:"name"`
129
129
// IfName is the name of the network interface.
130
130
IfName string ` json:"if"`
131
- // DNSServer is the name of the DNS server.
132
- DNSServer string ` json:"resolver"`
133
131
// IPRange is the range of IPs to use.
134
132
IPRange string ` json:"ipRange"`
135
133
}
Original file line number Diff line number Diff line change @@ -87,8 +87,7 @@ func TestInstallConfigGenerate(t *testing.T) {
87
87
network:
88
88
if: ""
89
89
ipRange: ""
90
- name: ""
91
- resolver: ""` ,
90
+ name: ""` ,
92
91
},
93
92
}
94
93
for _ , tc := range cases {
Original file line number Diff line number Diff line change @@ -107,8 +107,6 @@ type LibvirtNetwork struct {
107
107
Name string `json:"name"`
108
108
// IfName is the name of the network interface.
109
109
IfName string `json:"if"`
110
- // DNSServer is the name of the DNS server.
111
- DNSServer string `json:"resolver"`
112
110
// IPRange is the range of IPs to use.
113
111
IPRange string `json:"ipRange"`
114
112
}
You can’t perform that action at this time.
0 commit comments