*: 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:
@ -41,9 +41,8 @@ func init() {
|
||||
|
||||
type NetConf struct {
|
||||
types.NetConf
|
||||
IPMasq bool `json:"ipMasq"`
|
||||
MTU int `json:"mtu"`
|
||||
DNS []string `json:"dns"`
|
||||
IPMasq bool `json:"ipMasq"`
|
||||
MTU int `json:"mtu"`
|
||||
}
|
||||
|
||||
func setupContainerVeth(netns, ifName string, mtu int, pr *types.Result) (string, error) {
|
||||
|
Reference in New Issue
Block a user