Browse Source

fix static check

abhishek9686 4 tháng trước cách đây
mục cha
commit
7d55955a98
2 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 0 3
      controllers/acls.go
  2. 4 0
      schema/activity.go

+ 0 - 3
controllers/acls.go

@@ -150,9 +150,6 @@ func aclDebug(w http.ResponseWriter, r *http.Request) {
 		logic.ReturnErrorResponse(w, r, logic.FormatError(err, "badrequest"))
 		return
 	}
-	logic.GetNodeEgressInfo(&node)
-	logic.ReturnSuccessResponseWithJson(w, r, node, "fetched all acls in the network ")
-	return
 	var peer models.Node
 	if peerIsStatic == "true" {
 		extclient, err := logic.GetExtClient(peerID, node.Network)

+ 4 - 0
schema/activity.go

@@ -0,0 +1,4 @@
+package schema
+
+type Activity struct {
+}