Skip to content

Commit 52d17f0

Browse files
authored
Merge pull request kubernetes-retired#25 from rrati/context-fix
Fix context definition
2 parents a6e9768 + 0aa0efa commit 52d17f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)