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 2020/07/16 15:46:58 UTC

[GitHub] [trafficcontrol] mitchell852 commented on a change in pull request #4881: Renaming a host in TC, does not impact hash_id

mitchell852 commented on a change in pull request #4881:
URL: https://github.com/apache/trafficcontrol/pull/4881#discussion_r455887366



##########
File path: traffic_ops/traffic_ops_golang/server/servers.go
##########
@@ -1224,6 +1228,9 @@ func createV3(inf *api.APIInfo, w http.ResponseWriter, r *http.Request) {
 		return
 	}
 
+	str := uuid.New().String()

Review comment:
       so i guess what i'm getting at is this:
   
   ```
   Create a server in traffic_portal. Observe the xmpp_id value in db. It should be set to uuid.
   Edit the hostname of the created server (from step 1)
   Observe the change of hostname in DB but xmpp_id remains unaffected.
   ```
   
   but can i update the xmppId on a server via PUT /servers/{id}?




----------------------------------------------------------------
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