*: reflect SPEC's DNS changes in implementation
* DNS is now a type which will result in a JSON dictionary in configurations and results * Minor refactoring, making use of type embedding
This commit is contained in:
@ -31,10 +31,9 @@ import (
|
||||
|
||||
type NetConf struct {
|
||||
types.NetConf
|
||||
Master string `json:"master"`
|
||||
Mode string `json:"mode"`
|
||||
MTU int `json:"mtu"`
|
||||
DNS []string `json:"dns"`
|
||||
Master string `json:"master"`
|
||||
Mode string `json:"mode"`
|
||||
MTU int `json:"mtu"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
Reference in New Issue
Block a user