CloudWatch: Clean up code (#26259)

* CloudWatch: Clean up code
This commit is contained in:
Arve Knudsen
2020-07-14 08:23:23 +02:00
committed by GitHub
parent 747bdaf2e7
commit c863fd3da9
18 changed files with 273 additions and 263 deletions
+7 -7
View File
@@ -21,7 +21,7 @@ import (
//***
func TestHandleDescribeLogGroups_WhenLogGroupNamePrefixIsEmpty(t *testing.T) {
executor := &CloudWatchExecutor{}
executor := &cloudWatchExecutor{}
logsClient := &FakeLogsClient{
Config: aws.Config{
@@ -43,7 +43,7 @@ func TestHandleDescribeLogGroups_WhenLogGroupNamePrefixIsEmpty(t *testing.T) {
}
func TestHandleDescribeLogGroups_WhenLogGroupNamePrefixIsNotEmpty(t *testing.T) {
executor := &CloudWatchExecutor{}
executor := &cloudWatchExecutor{}
logsClient := &FakeLogsClient{
Config: aws.Config{
@@ -64,7 +64,7 @@ func TestHandleDescribeLogGroups_WhenLogGroupNamePrefixIsNotEmpty(t *testing.T)
}
func TestHandleGetLogGroupFields_WhenLogGroupNamePrefixIsNotEmpty(t *testing.T) {
executor := &CloudWatchExecutor{}
executor := &cloudWatchExecutor{}
logsClient := &FakeLogsClient{
Config: aws.Config{
@@ -89,7 +89,7 @@ func TestHandleGetLogGroupFields_WhenLogGroupNamePrefixIsNotEmpty(t *testing.T)
}
func TestExecuteStartQuery(t *testing.T) {
executor := &CloudWatchExecutor{}
executor := &cloudWatchExecutor{}
logsClient := &FakeLogsClient{
Config: aws.Config{
@@ -117,7 +117,7 @@ func TestExecuteStartQuery(t *testing.T) {
}
func TestHandleStartQuery(t *testing.T) {
executor := &CloudWatchExecutor{}
executor := &cloudWatchExecutor{}
logsClient := &FakeLogsClient{
Config: aws.Config{
@@ -152,7 +152,7 @@ func TestHandleStartQuery(t *testing.T) {
}
func TestHandleStopQuery(t *testing.T) {
executor := &CloudWatchExecutor{}
executor := &cloudWatchExecutor{}
logsClient := &FakeLogsClient{
Config: aws.Config{
@@ -174,7 +174,7 @@ func TestHandleStopQuery(t *testing.T) {
}
func TestHandleGetQueryResults(t *testing.T) {
executor := &CloudWatchExecutor{}
executor := &cloudWatchExecutor{}
logsClient := &FakeLogsClient{
Config: aws.Config{