You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2018/06/05 20:17:24 UTC
[incubator-trafficcontrol] branch master updated: Fix TO Go compile
error from merge issue
This is an automated email from the ASF dual-hosted git repository.
dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 4d7bf9c Fix TO Go compile error from merge issue
4d7bf9c is described below
commit 4d7bf9cb689073c87c67439082b3de7b03f5c0cb
Author: Robert Butts <ro...@apache.org>
AuthorDate: Tue Jun 5 14:13:01 2018 -0600
Fix TO Go compile error from merge issue
---
traffic_ops/traffic_ops_golang/cdn/queue.go | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/traffic_ops/traffic_ops_golang/cdn/queue.go b/traffic_ops/traffic_ops_golang/cdn/queue.go
index d3e0a36..5222fd4 100644
--- a/traffic_ops/traffic_ops_golang/cdn/queue.go
+++ b/traffic_ops/traffic_ops_golang/cdn/queue.go
@@ -25,7 +25,6 @@ import (
"errors"
"net/http"
- "github.com/apache/incubator-trafficcontrol/lib/go-log"
"github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/api"
"github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/auth"
)
@@ -65,9 +64,7 @@ func Queue(db *sql.DB) http.HandlerFunc {
return
}
api.WriteResp(w, r, QueueResp{Action: reqObj.Action, CDNID: int64(intParams["id"])})
- if err := api.CreateChangeLogRaw(api.ApiChange, "Server updates "+reqObj.Action+"d for cdn "+params["id"], *user, db); err != nil {
- log.Errorln("creating cdn queue updates changelog: " + err.Error())
- }
+ api.CreateChangeLogRaw(api.ApiChange, "Server updates "+reqObj.Action+"d for cdn "+params["id"], *user, db)
}
}
--
To stop receiving notification emails like this one, please contact
dewrich@apache.org.