Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlewi committed Apr 17, 2024
1 parent f73ec11 commit 4f940d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package cmd
import (
"context"
"fmt"
"os"

"github.com/go-logr/zapr"
"github.com/jlewi/foyle/app/pkg/analyze"
"github.com/jlewi/foyle/app/pkg/application"
"github.com/jlewi/monogo/helpers"
"github.com/spf13/cobra"
"go.uber.org/zap"
"os"
)

// NewLogsCmd returns a command to manage logs
Expand Down
3 changes: 3 additions & 0 deletions app/pkg/analyze/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ func (a *Analyzer) Analyze(ctx context.Context, logsDir string, outDir string) (
}

traces, blocks, err := buildTraces(ctx, jsonFiles, results)
if err != nil {
return results, err
}

err = buildBlockLogs(ctx, traces, blocks, results.BlockLogs[0])

Expand Down

0 comments on commit 4f940d3

Please sign in to comment.