From 0aa0efa630e809bd6baba6c00941e360da9a5ad4 Mon Sep 17 00:00:00 2001 From: Rob Rati Date: Mon, 11 Jan 2021 19:12:13 -0500 Subject: [PATCH] Fix context definition --- cmd/objectstorage-sidecar/app/objectstorage-sidecar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/objectstorage-sidecar/app/objectstorage-sidecar.go b/cmd/objectstorage-sidecar/app/objectstorage-sidecar.go index 9420843..23fcd47 100644 --- a/cmd/objectstorage-sidecar/app/objectstorage-sidecar.go +++ b/cmd/objectstorage-sidecar/app/objectstorage-sidecar.go @@ -49,7 +49,7 @@ func (so *SidecarOptions) Run() { os.Exit(1) } - ctx, cancel := context.WithTimeout(context.Background(), time.Second) + ctx, cancel := context.WithCancel(context.Background()) defer cancel() klog.V(1).Infof("creating provisioner client")