dewrich closed pull request #2374: Fix TO Go compile error from merge issue
URL: https://github.com/apache/incubator-trafficcontrol/pull/2374
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/traffic_ops/traffic_ops_golang/cdn/queue.go
b/traffic_ops/traffic_ops_golang/cdn/queue.go
index d3e0a36f0..5222fd47f 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)
}
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services