Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[RICPLT-2527] Fix according to acceptance comments
[ric-plt/e2mgr.git]
/
E2Manager
/
controllers
/
nodeb_controller.go
diff --git
a/E2Manager/controllers/nodeb_controller.go
b/E2Manager/controllers/nodeb_controller.go
index
8b8c743
..
7b8a86f
100644
(file)
--- a/
E2Manager/controllers/nodeb_controller.go
+++ b/
E2Manager/controllers/nodeb_controller.go
@@
-249,10
+249,6
@@
func (c *NodebController) handleErrorResponse(err error, writer http.ResponseWri
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(httpError)
_, err = writer.Write(errorResponse)
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(httpError)
_, err = writer.Write(errorResponse)
-
- if err != nil {
- c.logger.Errorf("#NodebController.handleErrorResponse - Cannot send response. writer:%v", writer)
- }
}
func (c *NodebController) prettifyRequest(request *http.Request) string {
}
func (c *NodebController) prettifyRequest(request *http.Request) string {