Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tke-eos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
tke-eos
Commits
22fb6fa2
Commit
22fb6fa2
authored
Sep 10, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新ctx.cluster
parent
cae1ec6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
index.js
middleware/client/index.js
+2
-4
No files found.
middleware/client/index.js
View file @
22fb6fa2
...
@@ -39,12 +39,10 @@ module.exports = function client() {
...
@@ -39,12 +39,10 @@ module.exports = function client() {
),
),
version
:
'
1.10
'
,
version
:
'
1.10
'
,
})
})
client
.
clusterName
=
cluster
client
.
clusterDomain
=
clusterDomain
}
}
ctx
.
client
=
client
[
cluster
]
ctx
.
client
=
client
[
cluster
]
ctx
.
cluster
=
cl
ient
.
clusterName
ctx
.
cluster
=
cl
uster
ctx
.
clusterDomain
=
cl
ient
.
cl
usterDomain
ctx
.
clusterDomain
=
clusterDomain
await
next
()
await
next
()
}
}
}
}
...
...
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