mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-03 18:47:03 +00:00
Merge pull request #885 from caoruidong/test
network: Use constant string for "none" network model
This commit is contained in:
commit
f81db93ef0
@ -100,7 +100,7 @@ func (n *NetInterworkingModel) SetModel(modelName string) error {
|
||||
case tcFilterNetModelStr:
|
||||
*n = NetXConnectTCFilterModel
|
||||
return nil
|
||||
case "none":
|
||||
case noneNetModelStr:
|
||||
*n = NetXConnectNoneModel
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user