Skip to content

Commit

Permalink
Merge pull request #16 from NiFNi/master
Browse files Browse the repository at this point in the history
increase timeout to 5 minutes to have more time for the login
  • Loading branch information
mlbiam authored Oct 19, 2023
2 parents c8ab65b + 4843836 commit 5efa177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubectl-login.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func runOidc(host string) {
oidc.httpServer = &http.Server{Addr: "127.0.0.1:8400", Handler: m}

go func() {
time.Sleep(30 * time.Second)
time.Sleep(5 * time.Minute)
fmt.Println("Timeout wating for login")
os.Exit(1)

Expand Down

0 comments on commit 5efa177

Please sign in to comment.