This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new d4745aa fixed inaccurate change log message when queuing/dequeuing
server updates for a cdn
d4745aa is described below
commit d4745aa6c48a3df5723bd55b1a8535162bdec5a9
Author: Jeremy Mitchell <[email protected]>
AuthorDate: Thu Aug 15 15:02:13 2019 -0600
fixed inaccurate change log message when queuing/dequeuing server updates
for a cdn
---
traffic_ops/traffic_ops_golang/cdn/queue.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traffic_ops/traffic_ops_golang/cdn/queue.go
b/traffic_ops/traffic_ops_golang/cdn/queue.go
index b9bce05..3910a17 100644
--- a/traffic_ops/traffic_ops_golang/cdn/queue.go
+++ b/traffic_ops/traffic_ops_golang/cdn/queue.go
@@ -68,7 +68,7 @@ func Queue(w http.ResponseWriter, r *http.Request) {
api.HandleErr(w, r, inf.Tx.Tx, http.StatusNotFound, nil, nil)
return
}
- api.CreateChangeLogRawTx(api.ApiChange, "CDN: "+string(cdnName)+", ID:
"+strconv.Itoa(inf.IntParams["id"])+", ACTION: Queue CDN updates", inf.User,
inf.Tx.Tx)
+ api.CreateChangeLogRawTx(api.ApiChange, "CDN: "+string(cdnName)+", ID:
"+strconv.Itoa(inf.IntParams["id"])+", ACTION: CDN server updates
"+reqObj.Action+"d", inf.User, inf.Tx.Tx)
api.WriteResp(w, r, QueueResp{Action: reqObj.Action, CDNID:
int64(inf.IntParams["id"])})
}