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
035e5f95
Commit
035e5f95
authored
May 11, 2019
by
xuezj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复删除xyqb-user2异常
parent
9782745c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
service.js
app/service.js
+3
-0
No files found.
app/service.js
View file @
035e5f95
...
@@ -115,6 +115,9 @@ router.post('/details', async (ctx) => {
...
@@ -115,6 +115,9 @@ router.post('/details', async (ctx) => {
})
})
router
.
post
(
'
/delete
'
,
async
(
ctx
)
=>
{
router
.
post
(
'
/delete
'
,
async
(
ctx
)
=>
{
await
ctx
.
cluster
.
service_delete
(
ctx
.
request
.
body
.
serviceName
,
ctx
.
request
.
body
.
namespace
)
await
ctx
.
cluster
.
service_delete
(
ctx
.
request
.
body
.
serviceName
,
ctx
.
request
.
body
.
namespace
)
if
(
ctx
.
request
.
body
.
serviceName
===
'
xyqb-user2
'
)
{
await
ingressDelete
(
ctx
.
request
.
body
.
namespace
,
'
xyqb-user2-2
'
)
}
await
ingressDelete
(
ctx
.
request
.
body
.
namespace
,
ctx
.
request
.
body
.
serviceName
)
await
ingressDelete
(
ctx
.
request
.
body
.
namespace
,
ctx
.
request
.
body
.
serviceName
)
ctx
.
body
=
ctx
.
ok
(
'
删除成功
'
)
ctx
.
body
=
ctx
.
ok
(
'
删除成功
'
)
})
})
...
...
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