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

fix object storage monitor #4691

Merged
merged 4 commits into from
Apr 24, 2024
Merged

fix object storage monitor #4691

merged 4 commits into from
Apr 24, 2024

Conversation

bxy4543
Copy link
Member

@bxy4543 bxy4543 commented Apr 19, 2024

No description provided.

@sealos-ci-robot
Copy link
Member

sealos-ci-robot commented Apr 19, 2024

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 1245
✅ Successful 374
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 870
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

Comment on lines 76 to 80
clnt, err := privateNewMetricsClient(endpointURL, jwtToken, secure)
if err != nil {
return nil, err
}
return clnt, nil
Copy link
Collaborator

Choose a reason for hiding this comment

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

为啥不直接

return privateNewMetricsClient(endpointURL, jwtToken, secure)

Copy link
Member Author

Choose a reason for hiding this comment

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

对的,我写傻了

Comment on lines 282 to 286
token, err := jwt.SignedString([]byte(secretKey))
if err != nil {
return "", err
}
return token, nil
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里也是

@bxy4543 bxy4543 added this to the v5.0 milestone Apr 24, 2024
@bxy4543 bxy4543 merged commit 1d0ad5c into labring:main Apr 24, 2024
36 checks passed
@bxy4543 bxy4543 deleted the xzy-monitor branch April 24, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants