Skip to content

Commit

Permalink
fix_: rebase issues, linter
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Nov 26, 2024
1 parent aa352d3 commit 494726d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion logutils/override.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func overrideCoreWithConfig(core *Core, settings LogSettings) error {
return err
}
core.SetLevel(level)

if settings.File != "" {
if settings.MaxBackups == 0 {
// Setting MaxBackups to 0 causes all log files to be kept. Even setting MaxAge to > 0 doesn't fix it
Expand Down
1 change: 1 addition & 0 deletions mobile/callog/status_request_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"time"

"go.uber.org/zap"

"github.com/status-im/status-go/internal/sentry"
)

Expand Down
3 changes: 1 addition & 2 deletions mobile/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,13 @@ func initializeApplication(requestJSON string) string {

// initialize sentry
statusBackend.SetSentryDSN(request.SentryDSN)
if centralizedMetricsInfo.Enabled {
if metricsInfo.Enabled {
err = statusBackend.EnablePanicReporting()
if err != nil {
return makeJSONResponse(err)
}
}


// Prepare response
response := &InitializeApplicationResponse{
Accounts: accs,
Expand Down
3 changes: 2 additions & 1 deletion protocol/messenger_store_node_request_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ import (
"sync"
"time"

"github.com/waku-org/go-waku/waku/v2/api/history"

gocommon "github.com/status-im/status-go/common"
"github.com/status-im/status-go/eth-node/crypto"
"github.com/status-im/status-go/protocol/common/shard"
"github.com/waku-org/go-waku/waku/v2/api/history"

"go.uber.org/zap"

Expand Down
3 changes: 2 additions & 1 deletion wakuv2/history_processor_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package wakuv2
import (
"github.com/libp2p/go-libp2p/core/peer"

"github.com/status-im/status-go/wakuv2/common"
"github.com/waku-org/go-waku/waku/v2/api/history"
"github.com/waku-org/go-waku/waku/v2/protocol"

"github.com/status-im/status-go/wakuv2/common"
)

type HistoryProcessorWrapper struct {
Expand Down

0 comments on commit 494726d

Please sign in to comment.