Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Aug 28, 2023
1 parent 3812c20 commit 56c6cac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions xray/usage/reportusage.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ package usage
import (
"encoding/json"
"errors"
"net/http"

"github.com/jfrog/jfrog-client-go/artifactory/services/utils"
clientutils "github.com/jfrog/jfrog-client-go/utils"
"github.com/jfrog/jfrog-client-go/utils/errorutils"
"github.com/jfrog/jfrog-client-go/utils/log"
"github.com/jfrog/jfrog-client-go/xray"
"github.com/jfrog/jfrog-client-go/xray/manager"
"net/http"
)

const (
Expand All @@ -33,7 +32,7 @@ type ReportXrayEventData struct {
Origin string `json:"origin,omitempty"`
}

func SendXrayUsageEvents(serviceManager xray.XrayServicesManager, events ...ReportXrayEventData) error {
func SendXrayUsageEvents(serviceManager manager.SecurityServiceManager, events ...ReportXrayEventData) error {
if len(events) == 0 {
return errorutils.CheckErrorf("Nothing to send.")
}
Expand Down

0 comments on commit 56c6cac

Please sign in to comment.