Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dudo committed Dec 28, 2023
1 parent 2b6d57f commit 0a949f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cmd/observer/pxapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (t *tablePrinter) HandleRecord(ctx context.Context, r *types.Record) error
var value interface{}

switch v := d.(type) {
case *types.BooleanValue:
case *types.BooleanValue:
value = v.Value()
case *types.Int64Value:
value = v.Value()
Expand All @@ -45,10 +45,10 @@ func (t *tablePrinter) HandleRecord(ctx context.Context, r *types.Record) error
value = v.Value()
case *types.UInt128Value:
value = v.Value()
default:
default:
// Fallback to string representation if type is unknown
value = d.String()
}
}

recordMap[t.headerValues[i]] = value
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/config/pixie.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type Config struct {
// It attempts to override these defaults with environment variables if they are set.
//
// Returns:
// - A pointer to an Config struct which contains configuration settings.
// - An error.
// - A pointer to an Config struct which contains configuration settings.
// - An error.
//
// Usage:
//
Expand Down

0 comments on commit 0a949f4

Please sign in to comment.