Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 发布etcd配置添加MySQL记录 #436

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

linthan
Copy link
Member

@linthan linthan commented Feb 27, 2023

No description provided.

@linthan linthan changed the title feat: 添加MySQL记录 feat: 发布etcd配置添加MySQL记录 Feb 27, 2023
@linthan linthan requested a review from sysulq February 27, 2023 03:33
cp.ConfigurationID = item.ID
cp.ConfigurationHistoryID = confHistory.ID
if err = mysql.Save(&cp).Error; err != nil {
continue
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加下错误日志

cs.CreatedAt = time.Now()
cs.UpdateAt = time.Now()
if sErr := mysql.Save(&cs).Error; sErr != nil {
continue
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

@codecov-commenter
Copy link

Codecov Report

Merging #436 (d110717) into master (a296cea) will increase coverage by 0.21%.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##           master    #436      +/-   ##
=========================================
+ Coverage    9.08%   9.30%   +0.21%     
=========================================
  Files          54      51       -3     
  Lines        6142    5567     -575     
=========================================
- Hits          558     518      -40     
+ Misses       5535    5004     -531     
+ Partials       49      45       -4     
Impacted Files Coverage Δ
internal/pkg/service/confgov2/config.go 0.00% <0.00%> (ø)
internal/pkg/service/k8s/init.go 0.00% <0.00%> (ø)
internal/pkg/service/k8s/pod.go 3.51% <0.00%> (ø)
internal/pkg/service/k8s/service.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sysulq sysulq merged commit ed0acdd into douyu:master Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants