Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
0318cd99
Commit
0318cd99
authored
Sep 26, 2017
by
Ryan Phillips
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add client request timeout and dialer deadline
parent
904c3fac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
client.go
storage/kubernetes/client.go
+4
-1
No files found.
storage/kubernetes/client.go
View file @
0318cd99
...
...
@@ -333,7 +333,10 @@ func newClient(cluster k8sapi.Cluster, user k8sapi.AuthInfo, namespace string, l
logger
.
Infof
(
"kubernetes client apiVersion = %s"
,
apiVersion
)
return
&
client
{
client
:
&
http
.
Client
{
Transport
:
t
},
client
:
&
http
.
Client
{
Transport
:
t
,
Timeout
:
15
*
time
.
Second
,
},
baseURL
:
cluster
.
Server
,
hash
:
func
()
hash
.
Hash
{
return
fnv
.
New64
()
},
namespace
:
namespace
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment