Skip to content

Commit 9c77f71

Browse files
authored
Merge pull request kubernetes-retired#25 from rrati/context-fix
Fix context definition
2 parents 58d3a40 + e0d9d97 commit 9c77f71

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)