You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/07/12 21:20:56 UTC

[GitHub] rawlinp commented on a change in pull request #2534: Fix DSR PUT handlers for status/assignments

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 like a better suggestion.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services