mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-03 22:44:24 +01:00
vc: Remove unused variable NumInterfaces
Remove unsed variable, the variable is set just in one place, and never is used again. Fixes: #603 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -357,9 +357,6 @@ func networkConfig(ocispec CompatOCISpec, config RuntimeConfig) (vc.NetworkConfi
|
||||
continue
|
||||
}
|
||||
|
||||
// Bug: This is not the interface count
|
||||
// It is just an indication that you need networking
|
||||
netConf.NumInterfaces = 1
|
||||
if n.Path != "" {
|
||||
netConf.NetNSPath = n.Path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user