Skip to content

Commit 5369539

Browse files
Rename var
1 parent 026b9c6 commit 5369539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/vitess/api_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ type Manager struct {
2929
}
3030

3131
// NewManager returns a new manager for Vitess
32-
func NewManager(timeout time.Duration) *Manager {
32+
func NewManager(apiTimeout time.Duration) *Manager {
3333
return &Manager{
3434
client: http.Client{
35-
Timeout: timeout,
35+
Timeout: apiTimeout,
3636
},
3737
}
3838
}

0 commit comments

Comments
 (0)