File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ type Sender struct {
4141
4242// Send sends an event to the metrics endpoint.
4343func (s * Sender ) Send (ctx context.Context , ev Event ) {
44- url := fmt .Sprintf ("%s/helmbin_metrics /%s" , s .baseURL , ev .Title ())
44+ url := fmt .Sprintf ("%s/embedded_cluster_metrics /%s" , s .baseURL , ev .Title ())
4545 payload , err := s .payload (ev )
4646 if err != nil {
4747 logrus .Debugf ("unable to get payload for event %s: %s" , ev .Title (), err )
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ func TestSend(t *testing.T) {
120120 http .HandlerFunc (
121121 func (rw http.ResponseWriter , req * http.Request ) {
122122 evname := reflect .TypeOf (tt .event ).Name ()
123- path := fmt .Sprintf ("/helmbin_metrics /%s" , evname )
123+ path := fmt .Sprintf ("/embedded_cluster_metrics /%s" , evname )
124124 assert .Equal (t , req .URL .Path , path )
125125 assert .Equal (t , "POST" , req .Method )
126126 received , err := io .ReadAll (req .Body )
You can’t perform that action at this time.
0 commit comments