rawlinp commented on a change in pull request #2534: Fix DSR PUT handlers for 
status/assignments
URL: https://github.com/apache/trafficcontrol/pull/2534#discussion_r202183170
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/deliveryservice/request/requests.go
 ##########
 @@ -486,7 +486,9 @@ func (req *deliveryServiceRequestAssignment) Update() 
(error, tc.ApiErrorType) {
 
        // Only assigneeID changes -- nothing else
        assigneeID := req.AssigneeID
+       reqInfo := req.ReqInfo // save the ReqInfo
        *req = deliveryServiceRequestAssignment{current}
+       req.ReqInfo = reqInfo
        req.AssigneeID = assigneeID
 
 Review comment:
   done, thanks for the suggestion. That seems much better.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to