Cloudwatch: Refactor - move describe all log groups to call resource handler (#55582)

* refactor backend

* move describe log groups to api file

* fix lint issue
This commit is contained in:
Erik Sundell
2022-09-22 10:32:05 +02:00
committed by GitHub
parent 383602a850
commit 5eeba155f7
10 changed files with 141 additions and 139 deletions
+1
View File
@@ -22,6 +22,7 @@ func (e *cloudWatchExecutor) newResourceMux() *http.ServeMux {
mux.HandleFunc("/ec2-instance-attribute", handleResourceReq(e.handleGetEc2InstanceAttribute))
mux.HandleFunc("/resource-arns", handleResourceReq(e.handleGetResourceArns))
mux.HandleFunc("/log-groups", handleResourceReq(e.handleGetLogGroups))
mux.HandleFunc("/all-log-groups", handleResourceReq(e.handleGetAllLogGroups))
return mux
}