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
56bfbb17
Commit
56bfbb17
authored
Dec 18, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复钉钉通知内容
parent
ceb8c3b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dailySyncDB.js
app/dailySyncDB.js
+1
-1
restartLatest.js
app/restartLatest.js
+1
-1
No files found.
app/dailySyncDB.js
View file @
56bfbb17
...
@@ -47,7 +47,7 @@ const syncDB = async (cluster) => {
...
@@ -47,7 +47,7 @@ const syncDB = async (cluster) => {
}
else
{
}
else
{
logger
.
info
(
'
同步ns失败:
'
,
namespace
.
name
,
res
.
data
)
logger
.
info
(
'
同步ns失败:
'
,
namespace
.
name
,
res
.
data
)
}
}
await
sleep
(
6
*
1000
)
await
sleep
(
6
0
*
1000
)
break
break
}
}
}
}
...
...
app/restartLatest.js
View file @
56bfbb17
...
@@ -76,7 +76,7 @@ const deploy = async (cluster) => {
...
@@ -76,7 +76,7 @@ const deploy = async (cluster) => {
text
=
`
${
text
}${
i
}
重新部署的 latest :
${
summary
[
i
].
latestArray
.
join
(
'
、
'
)}
\n\n`
text
=
`
${
text
}${
i
}
重新部署的 latest :
${
summary
[
i
].
latestArray
.
join
(
'
、
'
)}
\n\n`
}
}
if
(
summary
[
i
].
masterArray
.
length
)
{
if
(
summary
[
i
].
masterArray
.
length
)
{
text
=
`
${
text
}${
i
}
重新部署的
latest
:
${
summary
[
i
].
masterArray
.
join
(
'
、
'
)}
\n\n`
text
=
`
${
text
}${
i
}
重新部署的
master
:
${
summary
[
i
].
masterArray
.
join
(
'
、
'
)}
\n\n`
}
}
}
}
}
}
...
...
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