diff --git a/cmd/observer/pxapi.go b/cmd/observer/pxapi.go index 7016619..f6a73d3 100644 --- a/cmd/observer/pxapi.go +++ b/cmd/observer/pxapi.go @@ -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() @@ -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 } diff --git a/pkg/config/pixie.go b/pkg/config/pixie.go index 2d4298d..3e87405 100644 --- a/pkg/config/pixie.go +++ b/pkg/config/pixie.go @@ -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: //