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

Support agent type and retrieval of deployment spec #830

Merged
merged 2 commits into from
Oct 14, 2022

Conversation

xxx7xxxx
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2022

Codecov Report

Base: 78.91% // Head: 78.96% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (11cdb34) compared to base (65adc61).
Patch coverage: 21.42% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #830      +/-   ##
==========================================
+ Coverage   78.91%   78.96%   +0.04%     
==========================================
  Files         101      102       +1     
  Lines       11170    11234      +64     
==========================================
+ Hits         8815     8871      +56     
- Misses       1853     1864      +11     
+ Partials      502      499       -3     
Impacted Files Coverage Δ
pkg/object/meshcontroller/spec/spec.go 68.96% <ø> (ø)
pkg/util/jmxtool/agent_controller.go 46.66% <21.42%> (-15.10%) ⬇️
pkg/filters/validator/jwt.go 92.30% <0.00%> (-7.70%) ⬇️
pkg/filters/headerlookup/headerlookup.go 84.61% <0.00%> (-1.40%) ⬇️
pkg/cluster/member.go 70.81% <0.00%> (-1.08%) ⬇️
pkg/object/httpserver/spec.go 75.00% <0.00%> (-1.00%) ⬇️
pkg/object/httpserver/mux.go 87.20% <0.00%> (-0.45%) ⬇️
pkg/object/websocketserver/websocket.go
pkg/object/websocketserver/spec.go
... and 9 more

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

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

api.HandleAPIError(w, r, http.StatusNotFound, fmt.Errorf("%s deployment spec not found", serviceName))
}

func (a *API) getConfigMapsAndSecres(spec interface{}) ([]*corev1.ConfigMap, []*corev1.Secret) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
func (a *API) getConfigMapsAndSecres(spec interface{}) ([]*corev1.ConfigMap, []*corev1.Secret) {
func (a *API) getConfigMapsAndSecrets(spec interface{}) ([]*corev1.ConfigMap, []*corev1.Secret) {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

corrected

@suchen-sci suchen-sci merged commit 301ceb6 into easegress-io:main Oct 14, 2022
@xxx7xxxx xxx7xxxx deleted the mesh branch October 18, 2022 10:22
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.

4 participants