From 2e70a735983121d079bdd93a42f8e578838a0a97 Mon Sep 17 00:00:00 2001 From: Diego Ciangottini Date: Wed, 16 Oct 2024 14:22:23 +0200 Subject: [PATCH] enable socket communication also for GPU plugin Signed-off-by: Diego Ciangottini --- cmd/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/main.go b/cmd/main.go index 5264a4f..22937f3 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -2,9 +2,13 @@ package main import ( "context" + "net" "net/http" "os" + "os/signal" "strconv" + "strings" + "syscall" "github.com/sirupsen/logrus" "github.com/virtual-kubelet/virtual-kubelet/log" @@ -114,6 +118,7 @@ func main() { if err != nil { log.G(Ctx).Fatal(err) } + } if err != nil { log.G(Ctx).Fatal(err)