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: init etcd config #428

Merged
merged 2 commits into from
Feb 24, 2023
Merged

feat: init etcd config #428

merged 2 commits into from
Feb 24, 2023

Conversation

linthan
Copy link
Member

@linthan linthan commented Feb 23, 2023

No description provided.

@codecov-commenter
Copy link

Codecov Report

Merging #428 (c125b25) into master (a296cea) will increase coverage by 0.28%.
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    #428      +/-   ##
=========================================
+ Coverage    9.08%   9.36%   +0.28%     
=========================================
  Files          54      51       -3     
  Lines        6142    5530     -612     
=========================================
- Hits          558     518      -40     
+ Misses       5535    4967     -568     
+ 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.

@@ -6,6 +6,7 @@
[configure]
dir="/tmp/www/server"
prefix="juno-agent"
initetcdconfig = true
Copy link
Member

Choose a reason for hiding this comment

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

叫initEtcd呢

for _, item := range configuration {
var confHistory db.ConfigurationHistory
query = mysql.Where("configuration_id= ?", item.ID).Order("id desc").First(&confHistory)
if query.Error != nil {
Copy link
Member

Choose a reason for hiding this comment

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

最好记下错误日志

@sysulq sysulq merged commit b401390 into douyu:master Feb 24, 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