Skip to content

Commit

Permalink
Update context handling
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrex2001 committed Sep 3, 2023
1 parent 2d7a5c5 commit 1593faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/backend/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (in *instance) GetLogs(tainr *types.Container, follow bool, count int, stop
}

req := in.cli.CoreV1().Pods(in.namespace).GetLogs(tainr.GetPodName(), &options)
stream, err := req.Stream(context.TODO())
stream, err := req.Stream(context.Background())
if err != nil {
return err
}
Expand Down

0 comments on commit 1593faf

Please sign in to comment.