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

Add a web RPC to update the description of application #1842

Merged
merged 2 commits into from
Apr 9, 2021
Merged

Conversation

nghialv
Copy link
Member

@nghialv nghialv commented Apr 9, 2021

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

@khanhtc1202
Copy link
Member

🙆‍♂️
/lgtm

@pipecd-bot pipecd-bot added the lgtm label Apr 9, 2021
@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.86%. This pull request decreases coverage by -0.04%.

File Function Base Head Diff
pkg/app/api/grpcapi/web_api.go WebAPI.UpdateApplicationDescription -- 0.00% +0.00%
pkg/app/api/grpcapi/web_api.go WebAPI.updateApplication -- 0.00% +0.00%
pkg/app/api/grpcapi/web_api.go WebAPI.UpdateApplication 0.00% 0.00% +0.00%

app.PipedId = req.PipedId
app.Kind = req.Kind
app.CloudProvider = req.CloudProvider
app.Description = req.Description
Copy link
Member

Choose a reason for hiding this comment

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

UpdateApplicationRequest.Description is added right before, isn't it? If so I think we can sneaky remove it. Or, still it's needed for somewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice catch! Let me remove it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed it.

@pipecd-bot pipecd-bot removed the lgtm label Apr 9, 2021
@nakabonne
Copy link
Member

Thank you. There you go!
/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by nakabonne.

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.

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.86%. This pull request decreases coverage by -0.03%.

File Function Base Head Diff
pkg/app/api/grpcapi/web_api.go WebAPI.UpdateApplicationDescription -- 0.00% +0.00%
pkg/app/api/grpcapi/web_api.go WebAPI.updateApplication -- 0.00% +0.00%
pkg/app/api/grpcapi/web_api.go WebAPI.UpdateApplication 0.00% 0.00% +0.00%

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for javascript is 85.26%. This pull request does not change code coverage.

@pipecd-bot pipecd-bot merged commit 3cbe27e into master Apr 9, 2021
@pipecd-bot pipecd-bot deleted the web-rpc branch April 9, 2021 08:51
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.

None yet

4 participants