Page MenuHomePhorge

Fix process response without json body for GetVersionsAction
ClosedPublic

Authored by nannanko on Wed, Mar 18, 7:31 AM.

Details

Summary

Kazv::processResponse(ClientModel m, GetVersionsResponse r) cannot process response without json body, this diff fixed it.

Type: fix

Test Plan

Verify unit tests pass.

Diff Detail

Repository
rL libkazv
Branch
nannanko/get-version-process-response
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 569
Build 1120: Invoke BuildbotBuildbot build #1381
Build 1119: arc lint + arc unit

Event Timeline

tusooa published this revision for review.Wed, Mar 18, 7:37 AM
tusooa added inline comments.
src/client/actions/auth.cpp
164–166

You don't need to create a new lambda for this. failWithResponse(r) already meets the requirement of an effect.

tusooa requested changes to this revision.Wed, Mar 18, 7:37 AM
This revision now requires changes to proceed.Wed, Mar 18, 7:37 AM

Use failWithResponse(r) instead of lambda

the test failure is not the fault of this diff. the coverage job did pass, the failing is because of lilybuild.

This revision is now accepted and ready to land.Thu, Mar 19, 8:00 PM
This revision was landed with ongoing or failed builds.Sat, Mar 21, 6:57 AM
This revision was automatically updated to reflect the committed changes.