srijeet0406 commented on pull request #4985:
URL: https://github.com/apache/trafficcontrol/pull/4985#issuecomment-680204376


   Actually, scratch that. You cannot change the `status_last_updated` time by 
doing a `PUT` to `/servers/{{ID}}` because of this part of the code:
   
   `if newServer.StatusID != nil && *newServer.StatusID != originalStatusID {
                        newServer.StatusLastUpdated = time.Now()
                } else {
                        newServer.StatusLastUpdated = 
origSer[0].StatusLastUpdated
                }`


----------------------------------------------------------------
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:
[email protected]


Reply via email to