diff --git a/ignite/cmd/ignite/main.go b/ignite/cmd/ignite/main.go index dfeb9a600e..59e5b8cc39 100644 --- a/ignite/cmd/ignite/main.go +++ b/ignite/cmd/ignite/main.go @@ -42,7 +42,7 @@ func run() int { } var wg sync.WaitGroup analytics.SendMetric(&wg, subCmd) - analytics.EnableSentry(&wg, ctx) + analytics.EnableSentry(ctx, &wg) err = cmd.ExecuteContext(ctx) if err != nil { diff --git a/ignite/cmd/testnet_inplace.go b/ignite/cmd/testnet_inplace.go index 17afb21f2a..d5102a9e67 100644 --- a/ignite/cmd/testnet_inplace.go +++ b/ignite/cmd/testnet_inplace.go @@ -1,10 +1,10 @@ package ignitecmd import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/spf13/cobra" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/ignite/cli/v29/ignite/pkg/cliui" "github.com/ignite/cli/v29/ignite/pkg/cosmosaccount" "github.com/ignite/cli/v29/ignite/pkg/errors" diff --git a/ignite/internal/analytics/analytics.go b/ignite/internal/analytics/analytics.go index 131c895f09..ca0e8779df 100644 --- a/ignite/internal/analytics/analytics.go +++ b/ignite/internal/analytics/analytics.go @@ -101,7 +101,7 @@ func SendMetric(wg *sync.WaitGroup, cmd *cobra.Command) { } // EnableSentry enable errors reporting to Sentry. -func EnableSentry(wg *sync.WaitGroup, ctx context.Context) { +func EnableSentry(ctx context.Context, wg *sync.WaitGroup) { dntInfo, err := checkDNT() if err != nil || dntInfo.DoNotTrack { return diff --git a/ignite/pkg/announcements/announcement.go b/ignite/pkg/announcements/announcement.go index 3de7b67eee..224eab46a2 100644 --- a/ignite/pkg/announcements/announcement.go +++ b/ignite/pkg/announcements/announcement.go @@ -19,7 +19,7 @@ type announcement struct { } func GetAnnouncements() string { - resp, err := http.Get(AnnouncementAPI) + resp, err := http.Get(AnnouncementAPI) //nolint:gosec if err != nil || resp.StatusCode != 200 { return fallbackData() } diff --git a/ignite/pkg/sentry/sentry.go b/ignite/pkg/sentry/sentry.go index 3189324291..afde403f4e 100644 --- a/ignite/pkg/sentry/sentry.go +++ b/ignite/pkg/sentry/sentry.go @@ -12,7 +12,7 @@ import ( "github.com/ignite/cli/v29/ignite/version" ) -const IgniteDNS = "https://bugs.ignite.com" +const IgniteDNS = "https://1d862300ead01c5814d8ead3732fd41f@o1152630.ingest.us.sentry.io/4507891348930560" func InitSentry(ctx context.Context) (deferMe func(), err error) { sentrySyncTransport := sentry.NewHTTPSyncTransport() diff --git a/readme.md b/readme.md index e2b998933f..00b07c9a01 100644 --- a/readme.md +++ b/readme.md @@ -24,7 +24,7 @@ Test Status Lint Status - Discord + Discord ![Ignite CLI](./assets/ignite-cli.png)