Skip to content

Commit

Permalink
feat: formatted elk files
Browse files Browse the repository at this point in the history
Signed-off-by: Bharadwajshivam28 <[email protected]>
  • Loading branch information
Bharadwajshivam28 committed Oct 8, 2024
1 parent bd0f3bb commit 8daeb28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions metrics-operator/controllers/common/providers/elk/elk.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strings"
"time"

elastic "github.com/elastic/go-elasticsearch/v8"
"github.com/go-logr/logr"
metricsapi "github.com/keptn/lifecycle-toolkit/metrics-operator/api/v1"
elastic "github.com/elastic/go-elasticsearch/v8"
"sigs.k8s.io/controller-runtime/pkg/client"
)

Expand Down Expand Up @@ -148,4 +148,4 @@ func (r *KeptnElasticProvider) extractMetric(result map[string]interface{}) (str

value := fmt.Sprintf("%d", response.Hits.Total.Value)
return value, nil
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@ func TestKeptnElasticProvider_extractMetric(t *testing.T) {
}
})
}
}
}

0 comments on commit 8daeb28

Please sign in to comment.