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 2021/03/12 21:46:09 UTC

[GitHub] [trafficcontrol] rimashah25 commented on a change in pull request #5615: If-UnModified-Since/If-Match Improvements

rimashah25 commented on a change in pull request #5615:
URL: https://github.com/apache/trafficcontrol/pull/5615#discussion_r593468656



##########
File path: traffic_ops/traffic_ops_golang/topology/topologies.go
##########
@@ -600,6 +600,20 @@ func (topology *TOTopology) Update(h http.Header) (error, error, int) {
 	if len(topologies) != 1 {
 		return fmt.Errorf("cannot find exactly 1 topology with the query string provided"), nil, http.StatusBadRequest
 	}
+
+	// check if the name field was being updated by someone else
+	var existingLastUpdated *tc.TimeNoMod

Review comment:
       Done.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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