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

chore: dead code and linter updates #333

Merged
merged 3 commits into from
Nov 11, 2022

Conversation

nandor-magyar
Copy link
Contributor

  • new golangci lint rules & fixes
  • removed a bunch of dead code
  • removed unused variables

@nandor-magyar nandor-magyar requested a review from a team as a code owner November 11, 2022 14:48
@nandor-magyar nandor-magyar self-assigned this Nov 11, 2022
@nandor-magyar nandor-magyar force-pushed the chore/dead-code-and-linter branch 2 times, most recently from 30a9e10 to 206db53 Compare November 11, 2022 14:53
@codecov-commenter
Copy link

Codecov Report

Base: 18.29% // Head: 18.50% // Increases project coverage by +0.21% 🎉

Coverage data is based on head (206db53) compared to base (0c28ddf).
Patch coverage: 8.75% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #333      +/-   ##
===========================================
+ Coverage    18.29%   18.50%   +0.21%     
===========================================
  Files           53       52       -1     
  Lines         5077     5019      -58     
===========================================
  Hits           929      929              
+ Misses        4125     4068      -57     
+ Partials        23       22       -1     
Impacted Files Coverage Δ
golang/cmd/crane/crane.go 0.00% <0.00%> (ø)
golang/internal/config/secret.go 57.69% <0.00%> (+1.99%) ⬆️
golang/internal/dogger/dogger.go 0.00% <ø> (ø)
golang/internal/grpc/grpc.go 0.00% <0.00%> (ø)
golang/internal/mapper/grpc.go 75.65% <0.00%> (ø)
golang/internal/util/config.go 0.00% <0.00%> (ø)
golang/pkg/builder/container/container_builder.go 0.00% <0.00%> (ø)
golang/pkg/builder/container/exec_builder.go 0.00% <0.00%> (ø)
golang/pkg/builder/container/utils.go 26.06% <0.00%> (-0.82%) ⬇️
golang/pkg/cli/cli.go 0.00% <0.00%> (ø)
... and 21 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.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

🎬

Copy link
Contributor

@peterambrus3 peterambrus3 left a comment

Choose a reason for hiding this comment

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

lgtm

refactor(crux-ui): Separate contains methods from image config
fix(crux): Add common error interceptor
fix(crux-ui): Node status indicator position center
feat(crux-ui): Add back btn to image details
fix(crux-ui): Image list actions responsive display
fix(crux-ui): Image config sections improvements
fix(crux-ui): Deployment delete navigate
fix(crux-ui): Confirmation modal cancel fix
fix(agent): Inject secret key Co-Authored-By: Nandor Magyar <nandormagyar.it@gmail.com>
fix(crux): Node create get identity notification error
@nandor-magyar nandor-magyar merged commit 16418b4 into develop Nov 11, 2022
@nandor-magyar nandor-magyar deleted the chore/dead-code-and-linter branch November 11, 2022 16:34
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