Skip to content

Commit ef94ba4

Browse files
committed
Remove unused context
1 parent cbe9bde commit ef94ba4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

cmd_login.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ var loginCmd = &cobra.Command{
3636
// Create a channel to receive the auth token
3737
tokenChan := make(chan string, 1)
3838

39-
// Create a context that we can cancel
40-
_, cancel := context.WithCancel(context.Background())
41-
defer cancel()
42-
4339
// Set up a simple HTTP server to handle the OAuth callback
4440
server := &http.Server{
4541
Addr: "localhost:8085",

0 commit comments

Comments
 (0)