Skip to content

Conversation

@Hosshii
Copy link
Member

@Hosshii Hosshii commented Mar 1, 2022

What this PR does / why we need it:
Remove redis from web_api and piped_api dependency.

Which issue(s) this PR fixes:

Fixes #2865

Does this PR introduce a user-facing change?:

NONE

pipedStatCache cache.Cache
insightCache cache.Cache
redis redis.Redis
unregisteredAppStore unregisteredappstore.Store
Copy link
Member

Choose a reason for hiding this comment

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

nits, should move this to the upper block (nearby other stores) for better readable code 👍 (same with the piped_api.go PipedApi struct)

@nghialv
Copy link
Member

nghialv commented Mar 1, 2022

@Hosshii I think you need to run make gazelle to add missing dependencies.

@pipecd-bot
Copy link
Collaborator

GO_LINTER

The golinter build is completed with FAILURE. The build will be triggered again when you push any other commits. Or you can trigger it manually by /golinter trigger command right now.

You can check the build log from here.

"deployment.go",
"deployment_chain.go",
"docs.go",
"environment.pb.go",
Copy link
Member

Choose a reason for hiding this comment

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

Please remove this since it is no longer needed.
(I think you have to delete it at your local as well.)

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.44%. This pull request increases coverage by 0.04%.

File Function Base Head Diff
pkg/app/server/grpcapi/piped_api.go PipedAPI.ReportUnregisteredApplicationConfigurations 0.00% 0.00% +0.00%
pkg/app/server/grpcapi/web_api.go WebAPI.ListUnregisteredApplications 0.00% 0.00% +0.00%

@Hosshii
Copy link
Member Author

Hosshii commented Mar 1, 2022

Thank you for reviewing.
I fixed. PTAL

@nghialv
Copy link
Member

nghialv commented Mar 1, 2022

Nice. Keep up your great work!
/lgtm

@pipecd-bot pipecd-bot added the lgtm label Mar 1, 2022
@khanhtc1202
Copy link
Member

Nice improvement 👍
/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by khanhtc1202.

Approvers can cancel the approval by writing /approve cancel in a comment. Any additional commits also will change this pull request to be not-approved.

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.

Move redis out of api dependencies list

6 participants