Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Conversation

steeling
Copy link
Contributor

Remove unnecessary var types during instantiation to fix lints

Signed-off-by: Sean Teeling <seanteeling@microsoft.com>
@codecov-commenter
Copy link

Codecov Report

Merging #4917 (376ccab) into main (8030047) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #4917      +/-   ##
==========================================
+ Coverage   68.63%   68.65%   +0.02%     
==========================================
  Files         220      220              
  Lines       15942    15944       +2     
==========================================
+ Hits        10942    10947       +5     
+ Misses       4948     4945       -3     
  Partials       52       52              
Flag Coverage Δ
unittests 68.65% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/certificate/providers/config.go 81.25% <0.00%> (ø)
pkg/webhook/server.go 0.00% <0.00%> (ø)
pkg/httpserver/httpserver.go 85.45% <0.00%> (+0.54%) ⬆️
pkg/messaging/workqueue.go 100.00% <0.00%> (+10.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e94c48b...376ccab. Read the comment docs.

@shashankram shashankram merged commit 9e9f712 into openservicemesh:main Jul 19, 2022
trstringer pushed a commit that referenced this pull request Jul 20, 2022
* chore(cmd/cli): Reduce cyclomatic complexity of uninstall command (#4825)

* chore(cmd/cli): Reduce cyclomatic complexity of uninstall command

Separate code into functions to reduce the cyclomatic complexity
And adds unit tests to functions created
Helps unblock #4555

Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
(cherry picked from commit d5d3a25)

* Golang errors pkg (#4904)

This PR partially resolves #4524

* Removes "github.com/pkg/errors" package from the repo
* Wrap errors wherever possible rather than using the string format of the error as part of the message

Signed-off-by: Allen Leigh <allenlsy@gmail.com>
(cherry picked from commit 8030047)

* fix golints and security scan issues (#4915)

fix golints and security for:

1. G112 (ReadHeaderTimeout)
2. prometheus client_go version pinned to bad version

Signed-off-by: Sean Teeling <seanteeling@microsoft.com>

(cherry picked from commit f768f64)

* Fix lints by removing superfluous var type from var instantiation (#4917)

Remove unnecessary var types during instantiation to fix lints

Signed-off-by: Sean Teeling <seanteeling@microsoft.com>
(cherry picked from commit 9e9f712)

Co-authored-by: Shalier Xia <69616256+shalier@users.noreply.github.com>
Co-authored-by: allenlsy <allenlsy@gmail.com>
Co-authored-by: steeling <seanteeling@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants