Skip to content

Commit

Permalink
chore: removed stray comments from authenticate code
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashansa-K committed Sep 3, 2024
1 parent 388d32a commit 3939951
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/common_konnect.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func authenticate(
backoff := 200 * time.Millisecond

for {
// fmt.Printf("Attempt #%d\n", attempts+1)
authResponse, err := client.Auth.LoginV2(ctx, konnectConfig.Email, konnectConfig.Password, konnectConfig.Token)
if err == nil {
return authResponse, nil
Expand All @@ -48,7 +47,6 @@ func authenticate(
time.Sleep(backoff)
backoff *= 2
}
// return client.Auth.LoginV2(ctx, konnectConfig.Email, konnectConfig.Password, konnectConfig.Token)
}

// GetKongClientForKonnectMode abstracts the different cloud environments users
Expand Down

0 comments on commit 3939951

Please sign in to comment.