Skip to content

Commit

Permalink
use new unmarshal
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjiaxin534 committed Jan 23, 2025
1 parent 03bdb49 commit e7e1e1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/pkg/apis/v1alpha1/vendors/solution-vendor.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,7 @@ func (c *SolutionVendor) onGetResponse(request v1alpha2.COARequest) v1alpha2.COA
defer span.End()
sLog.InfoCtx(ctx, "V (Solution): onGetResponse")
var asyncResult model.AsyncResult
// err := utils.UnmarshalJson(request.Body, &asyncResult)
err := json.Unmarshal(request.Body, &asyncResult)
err := utils.UnmarshalJson(request.Body, &asyncResult)
if err != nil {
sLog.ErrorfCtx(ctx, "V(Solution): onGetResponse failed - %s", err.Error())
return v1alpha2.COAResponse{
Expand Down

0 comments on commit e7e1e1e

Please sign in to comment.