Skip to content

Commit

Permalink
adding Describe Tasts
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Dec 4, 2024
1 parent aed19c9 commit 6ee61b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions extension/agenthealth/handler/stats/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func (of OperationsFilter) IsAllowed(operationName string) bool {
var StatusCodeOperations = []string{ // all the operations that are allowed
"DescribeInstances",
"DescribeTags",
"DescribeTasks",
"DescribeVolumes",
"DescribeContainerInstances",
"DescribeServices",
Expand Down
2 changes: 1 addition & 1 deletion extension/agenthealth/handler/stats/provider/statuscode.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func GetShortOperationName(operation string) string {
case "DescribeInstances":
return "di"
case "DescribeTasks":
return "dt"
return "dts"
case "DescribeTags":
return "dt"
case "DescribeVolumes":
Expand Down

0 comments on commit 6ee61b5

Please sign in to comment.