Skip to content

Commit e0d9d97

Browse files
author
Rob Rati
committed
Fix context definition
1 parent 5a76e26 commit e0d9d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container-object-storage-interface-provisioner-sidecar/cmd/objectstorage-sidecar/app/objectstorage-sidecar.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (so *SidecarOptions) Run() {
4949
os.Exit(1)
5050
}
5151

52-
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
52+
ctx, cancel := context.WithCancel(context.Background())
5353
defer cancel()
5454

5555
klog.V(1).Infof("creating provisioner client")

0 commit comments

Comments
 (0)