From 849aa8f2c56b6d34746787061a9e6b3650b86279 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 14 May 2024 10:28:09 +0000 Subject: [PATCH] fix wrong comment Signed-off-by: Antonio Ojea --- plugins/network-device-injector/network-device-injector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/network-device-injector/network-device-injector.go b/plugins/network-device-injector/network-device-injector.go index c2bc6eb8..bb77997f 100644 --- a/plugins/network-device-injector/network-device-injector.go +++ b/plugins/network-device-injector/network-device-injector.go @@ -330,7 +330,7 @@ func (p *plugin) RunPodSandbox(_ context.Context, pod *api.PodSandbox) error { return nil } - // attach the network devices to the pod namespace + // release the network devices from the pod namespace for _, n := range netdevices { err = n.inject(ns) if err != nil {